[Bf-blender-cvs] [5be4d0b] master: Fix misleading indentation in ImBuf

Sergey Sharybin noreply at git.blender.org
Mon Jun 13 14:45:59 CEST 2016


Commit: 5be4d0b328e180067e2aa30bd02590f827de4389
Author: Sergey Sharybin
Date:   Mon Jun 13 14:46:04 2016 +0200
Branches: master
https://developer.blender.org/rB5be4d0b328e180067e2aa30bd02590f827de4389

Fix misleading indentation in ImBuf

===================================================================

M	source/blender/imbuf/intern/cineon/logImageCore.c

===================================================================

diff --git a/source/blender/imbuf/intern/cineon/logImageCore.c b/source/blender/imbuf/intern/cineon/logImageCore.c
index 5ec0a87..6fb1bcc 100644
--- a/source/blender/imbuf/intern/cineon/logImageCore.c
+++ b/source/blender/imbuf/intern/cineon/logImageCore.c
@@ -296,10 +296,11 @@ static int logImageSetData10(LogImageFile *logImage, LogImageElement logElement,
 			row[index] = swap_uint(pixel, logImage->isMSB);
 
 		if (logimage_fwrite(row, rowLength, 1, logImage) == 0) {
-			if (verbose) printf("DPX/Cineon: Error while writing file.\n"); {
-				MEM_freeN(row);
-				return 1;
+			if (verbose) {
+				printf("DPX/Cineon: Error while writing file.\n");
 			}
+			MEM_freeN(row);
+			return 1;
 		}
 	}
 	MEM_freeN(row);




More information about the Bf-blender-cvs mailing list