cosmetics: indentation after previous patch
authorBenoit Fouet <benoit.fouet@free.fr>
Wed, 2 May 2007 07:02:16 +0000 (07:02 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Wed, 2 May 2007 07:02:16 +0000 (07:02 +0000)
Originally committed as revision 23207 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

index 1d26d125a15c0484852c4aec452b890822a5d2ed..266177068d4a962ba4d04c34ba35cf9597207f4e 100644 (file)
@@ -1613,22 +1613,22 @@ static int rgb2rgbWrapper(SwsContext *c, uint8_t* src[], int srcStride[], int sr
 
     if(conv)
     {
-    if (dstStride[0]*srcBpp == srcStride[0]*dstBpp)
-        conv(src[0], dst[0] + dstStride[0]*srcSliceY, srcSliceH*srcStride[0]);
-    else
-    {
-        int i;
-        uint8_t *srcPtr= src[0];
-        uint8_t *dstPtr= dst[0] + dstStride[0]*srcSliceY;
-
-        for (i=0; i<srcSliceH; i++)
+        if (dstStride[0]*srcBpp == srcStride[0]*dstBpp)
+            conv(src[0], dst[0] + dstStride[0]*srcSliceY, srcSliceH*srcStride[0]);
+        else
         {
-            conv(srcPtr, dstPtr, c->srcW*srcBpp);
-            srcPtr+= srcStride[0];
-            dstPtr+= dstStride[0];
+            int i;
+            uint8_t *srcPtr= src[0];
+            uint8_t *dstPtr= dst[0] + dstStride[0]*srcSliceY;
+
+            for (i=0; i<srcSliceH; i++)
+            {
+                conv(srcPtr, dstPtr, c->srcW*srcBpp);
+                srcPtr+= srcStride[0];
+                dstPtr+= dstStride[0];
+            }
         }
     }
-    }
     return srcSliceH;
 }