Cosmetics: reindent and unify whitespace
[ffmpeg.git] / libswscale / swscale.c
index 0340e80..158ba7f 100644 (file)
@@ -1663,10 +1663,10 @@ static int planarCopyWrapper(SwsContext *c, const uint8_t* src[], int srcStride[
                     srcPtr+= srcStride[plane];
                     dstPtr+= dstStride[plane];
                 }
-            } else if (dstStride[plane]==srcStride[plane] && srcStride[plane] > 0 &&
-                       srcStride[plane] == length) {
-                    memcpy(dst[plane] + dstStride[plane]*y, src[plane],
-                           height*dstStride[plane]);
+            } else if (dstStride[plane] == srcStride[plane] &&
+                       srcStride[plane] > 0 && srcStride[plane] == length) {
+                memcpy(dst[plane] + dstStride[plane]*y, src[plane],
+                       height*dstStride[plane]);
             } else {
                 if(is16BPS(c->srcFormat) && is16BPS(c->dstFormat))
                     length*=2;