Author: post
Date: 2012-10-16 22:36:21 +0200 (Tue, 16 Oct 2012)
New Revision: 483

Modified:
   RawSpeed/BitPumpJPEG.cpp
Log:
Nicer formatting

Modified: RawSpeed/BitPumpJPEG.cpp
===================================================================
--- RawSpeed/BitPumpJPEG.cpp    2012-10-16 15:48:06 UTC (rev 482)
+++ RawSpeed/BitPumpJPEG.cpp    2012-10-16 20:36:21 UTC (rev 483)
@@ -54,16 +54,17 @@
   int* b = (int*)current_buffer;
   b[3] = b[0];
   for (int i = 0; i < 12; i++) {
-        uchar8 val = buffer[off++];
-        if (val == 0xff)
-               if (buffer[off] == 0)
-                       off++;
-               else {
-                       val = 0;
-                       off--;
-                       stuffed++;
-               }
-     current_buffer[11-i] = val;
+    uchar8 val = buffer[off++];
+    if (val == 0xff) {
+      if (buffer[off] == 0)
+        off++;
+      else {
+        val = 0;
+        off--;
+        stuffed++;
+      }
+      current_buffer[11-i] = val;
+    }
   } 
   mLeft+=96;
 }


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to