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>2012-04-02 06:41:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-02 06:41:28 +0400
commit670cdd5381b23b7ae1808262a12c0423c8fa73c7 (patch)
tree8947aaca6dfc415d8d346b4e5786e4548e566939 /source/blender/imbuf
parent6c4d6757594dd942304048690ae539e51f9e9d0b (diff)
code cleanup:
always use if (...) even if the macros dont require it (confuses parsers) define macros without the ';'s included.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/anim_movie.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c
index 8a700053d30..01a9a0a7303 100644
--- a/source/blender/imbuf/intern/anim_movie.c
+++ b/source/blender/imbuf/intern/anim_movie.c
@@ -45,8 +45,12 @@
#undef AVIIF_KEYFRAME // redefined in AVI_avi.h
#undef AVIIF_LIST // redefined in AVI_avi.h
-#define FIXCC(fcc) if (fcc == 0) fcc = mmioFOURCC('N', 'o', 'n', 'e'); \
- if (fcc == BI_RLE8) fcc = mmioFOURCC('R', 'l', 'e', '8');
+#define FIXCC(fcc) \
+ { \
+ if (fcc == 0) { fcc = mmioFOURCC('N', 'o', 'n', 'e'); } \
+ if (fcc == BI_RLE8) { fcc = mmioFOURCC('R', 'l', 'e', '8'); } \
+ }
+
#endif
#include <sys/types.h>