changeset 23189:9eeca842d5b1

cosmetics: indentation after previous patch
author benoit
date Wed, 02 May 2007 07:02:16 +0000
parents 6431b46104b7
children 631dad12568b
files libswscale/swscale.c
diffstat 1 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Wed May 02 07:00:10 2007 +0000
+++ b/libswscale/swscale.c	Wed May 02 07:02:16 2007 +0000
@@ -1613,22 +1613,22 @@
 
     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;
+        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++)
-        {
-            conv(srcPtr, dstPtr, c->srcW*srcBpp);
-            srcPtr+= srcStride[0];
-            dstPtr+= dstStride[0];
+            for (i=0; i<srcSliceH; i++)
+            {
+                conv(srcPtr, dstPtr, c->srcW*srcBpp);
+                srcPtr+= srcStride[0];
+                dstPtr+= dstStride[0];
+            }
         }
     }
-    }
     return srcSliceH;
 }