diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-03 11:55:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-03 12:35:44 +0400 |
commit | d900f5be55d0812eb5c7dfd3ea47020c3edafd41 (patch) | |
tree | 7d5035e3dbafdcd4988e7ed57068e48c951a989a /source/blender/avi | |
parent | a948ae2c5167c49819241572d3aacb4e4bf5b6d7 (diff) |
Code cleanup: use bools where possible
Diffstat (limited to 'source/blender/avi')
-rw-r--r-- | source/blender/avi/AVI_avi.h | 2 | ||||
-rw-r--r-- | source/blender/avi/intern/avi.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/avi/AVI_avi.h b/source/blender/avi/AVI_avi.h index cfa314bba04..44ffaad1f48 100644 --- a/source/blender/avi/AVI_avi.h +++ b/source/blender/avi/AVI_avi.h @@ -235,7 +235,7 @@ typedef enum { /** * Test whether this is an avi-format. */ -int AVI_is_avi(const char *name); +bool AVI_is_avi(const char *name); /** diff --git a/source/blender/avi/intern/avi.c b/source/blender/avi/intern/avi.c index f7e94c4937b..7bfe84ebfa7 100644 --- a/source/blender/avi/intern/avi.c +++ b/source/blender/avi/intern/avi.c @@ -206,7 +206,7 @@ void AVI_set_debug(int mode) AVI_DEBUG = mode; } -int AVI_is_avi(char *name) +bool AVI_is_avi(char *name) { FILE *fp; int ret; @@ -230,7 +230,7 @@ int AVI_is_avi(char *name) } #endif -int AVI_is_avi(const char *name) +bool AVI_is_avi(const char *name) { int temp, fcca, j; AviMovie movie = {NULL}; |