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-03-24 10:38:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-24 10:38:07 +0400
commitab4a2aaf4a4b2b4e416aa1f113b30362cbe0dec3 (patch)
tree81af4c18519181490074508dbe9a8d515eab634f /source/blender/imbuf/intern/cineon/cineon_dpx.c
parent5a90ea77bc1333efe4e1e54984a080550ed3f707 (diff)
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
Diffstat (limited to 'source/blender/imbuf/intern/cineon/cineon_dpx.c')
-rw-r--r--source/blender/imbuf/intern/cineon/cineon_dpx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/cineon/cineon_dpx.c b/source/blender/imbuf/intern/cineon/cineon_dpx.c
index af964bb2bb3..c1222d3cea3 100644
--- a/source/blender/imbuf/intern/cineon/cineon_dpx.c
+++ b/source/blender/imbuf/intern/cineon/cineon_dpx.c
@@ -154,7 +154,7 @@ static int imb_save_dpx_cineon(ImBuf *ibuf, const char *filename, int use_cineon
if (!logImage) return 0;
- if(logImageSetByteConversion(logImage, &conversion)==0) {
+ if (logImageSetByteConversion(logImage, &conversion)==0) {
printf("error setting args\n");
}
@@ -184,7 +184,7 @@ static int imb_save_dpx_cineon(ImBuf *ibuf, const char *filename, int use_cineon
MEM_freeN(line);
- if(is_alloc) {
+ if (is_alloc) {
MEM_freeN(fbuf);
}
@@ -204,7 +204,7 @@ int imb_is_cineon(unsigned char *buf)
ImBuf *imb_loadcineon(unsigned char *mem, size_t size, int flags)
{
- if(imb_is_cineon(mem))
+ if (imb_is_cineon(mem))
return imb_load_dpx_cineon(mem, 1, size, flags);
return NULL;
}
@@ -221,7 +221,7 @@ int imb_is_dpx(unsigned char *buf)
ImBuf *imb_loaddpx(unsigned char *mem, size_t size, int flags)
{
- if(imb_is_dpx(mem))
+ if (imb_is_dpx(mem))
return imb_load_dpx_cineon(mem, 0, size, flags);
return NULL;
}