[SCM] libav/experimental: Cosmetics: reindent and unify whitespace

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:11:43 UTC 2013


The following commit has been merged in the experimental branch:
commit e593826b93c3854ef91071a950298d91b2d1a67d
Author: Martin Storsjö <martin at martin.st>
Date:   Mon Jul 19 07:06:14 2010 +0000

    Cosmetics: reindent and unify whitespace
    
    Originally committed as revision 31757 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 0340e80..158ba7f 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list