Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-03 11:55:59 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-03 12:35:44 +0400
commitd900f5be55d0812eb5c7dfd3ea47020c3edafd41 (patch)
tree7d5035e3dbafdcd4988e7ed57068e48c951a989a /source/blender/avi
parenta948ae2c5167c49819241572d3aacb4e4bf5b6d7 (diff)
Code cleanup: use bools where possible
Diffstat (limited to 'source/blender/avi')
-rw-r--r--source/blender/avi/AVI_avi.h2
-rw-r--r--source/blender/avi/intern/avi.c4
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};