]> granicus.if.org Git - libjpeg-turbo/commitdiff
Formatting tweaks
authorDRC <dcommander@users.sourceforge.net>
Mon, 10 Mar 2014 21:37:54 +0000 (21:37 +0000)
committerDRC <dcommander@users.sourceforge.net>
Mon, 10 Mar 2014 21:37:54 +0000 (21:37 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1146 632fc199-4ca6-4c93-a231-07263d6284db

turbojpeg.c

index 664bb47ec5d693a7595b3d948ae2f068846fd761..ea710c94fa072c843833b3f9b6ffe683986de6e3 100644 (file)
@@ -531,7 +531,6 @@ DLLEXPORT unsigned long DLLCALL tjBufSize(int width, int height,
        return retval;
 }
 
-
 DLLEXPORT unsigned long DLLCALL TJBUFSIZE(int width, int height)
 {
        unsigned long retval=0;
@@ -983,7 +982,7 @@ DLLEXPORT int DLLCALL tjDecompress2(tjhandle handle, unsigned char *jpegBuf,
                scaledw=TJSCALED(jpegwidth, sf[i]);
                scaledh=TJSCALED(jpegheight, sf[i]);
                if(scaledw<=width && scaledh<=height)
-                               break;
+                       break;
        }
        if(scaledw>width || scaledh>height)
                _throw("tjDecompress2(): Could not scale down to desired image dimensions");