Author: post
Date: 2011-11-14 14:36:42 +0100 (Mon, 14 Nov 2011)
New Revision: 388

Modified:
   RawSpeed/LJpegPlain.cpp
Log:
Cosmetics.

Modified: RawSpeed/LJpegPlain.cpp
===================================================================
--- RawSpeed/LJpegPlain.cpp     2011-11-13 19:36:52 UTC (rev 387)
+++ RawSpeed/LJpegPlain.cpp     2011-11-14 13:36:42 UTC (rev 388)
@@ -42,7 +42,7 @@
 void LJpegPlain::decodeScan() {
   // If image attempts to decode beyond the image bounds, strip it.
   if ((frame.w * frame.cps + offX * mRaw->getCpp()) > mRaw->dim.x * 
mRaw->getCpp())
-    skipX = (((frame.w * frame.cps + offX * mRaw->getCpp())) - mRaw->dim.x * 
mRaw->getCpp()) / frame.cps;
+    skipX = ((frame.w * frame.cps + offX * mRaw->getCpp()) - mRaw->dim.x * 
mRaw->getCpp()) / frame.cps;
   if (frame.h + offY > (uint32)mRaw->dim.y)
     skipY = frame.h + offY - mRaw->dim.y;
 


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

Reply via email to