diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-24 18:27:41 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-24 18:28:40 +0300 |
commit | 0cff044d84646c2890f13b8915eb708861bb36d6 (patch) | |
tree | aae39c4caf63669e0ae760294abc2461ce1c26c1 /source/blender/avi/intern/avi.c | |
parent | ea61700a2d3b42989734f447bd37dcce9c827c42 (diff) |
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3719
Diffstat (limited to 'source/blender/avi/intern/avi.c')
-rw-r--r-- | source/blender/avi/intern/avi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/avi/intern/avi.c b/source/blender/avi/intern/avi.c index 2d8a0b0038f..6e798a6244e 100644 --- a/source/blender/avi/intern/avi.c +++ b/source/blender/avi/intern/avi.c @@ -64,7 +64,7 @@ char *tcc_to_char(unsigned int tcc); -/* implemetation */ +/* implementation */ unsigned int GET_FCC(FILE *fp) { @@ -286,7 +286,7 @@ bool AVI_is_avi(const char *name) fseek(movie.fp, movie.header->size - 14 * 4, SEEK_CUR); /* Limit number of streams to some reasonable amount to prevent - * buffer oveflow vulnerabilities. */ + * buffer overflow vulnerabilities. */ if (movie.header->Streams < 1 || movie.header->Streams > 65536) { DEBUG_PRINT("Number of streams should be in range 1-65536\n"); fclose(movie.fp); @@ -489,7 +489,7 @@ AviError AVI_open_movie(const char *name, AviMovie *movie) fseek(movie->fp, movie->header->size - 14 * 4, SEEK_CUR); /* Limit number of streams to some reasonable amount to prevent - * buffer oveflow vulnerabilities. */ + * buffer overflow vulnerabilities. */ if (movie->header->Streams < 1 || movie->header->Streams > 65536) { DEBUG_PRINT("Number of streams should be in range 1-65536\n"); return AVI_ERROR_FORMAT; @@ -687,7 +687,7 @@ AviError AVI_open_movie(const char *name, AviMovie *movie) movie->read_offset = 4; } - DEBUG_PRINT("movie succesfully opened\n"); + DEBUG_PRINT("movie successfully opened\n"); return AVI_ERROR_NONE; } @@ -806,7 +806,7 @@ AviError AVI_open_compress(char *name, AviMovie *movie, int streams, ...) movie->header->Reserved[3] = 0; /* Limit number of streams to some reasonable amount to prevent - * buffer oveflow vulnerabilities. */ + * buffer overflow vulnerabilities. */ if (movie->header->Streams < 0 || movie->header->Streams > 65536) { DEBUG_PRINT("Number of streams should be in range 0-65536\n"); return AVI_ERROR_FORMAT; |