[SCM] libav/experimental: Description: remove superfluous parentheses.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:11:53 UTC 2013


The following commit has been merged in the experimental branch:
commit b8db4e22de59b98518d21a4cbcf5fde535d175f8
Author: Benoit Fouet <benoit.fouet at free.fr>
Date:   Thu Jan 17 08:12:23 2008 +0000

    Description: remove superfluous parentheses.
    
    Originally committed as revision 25776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 05e1def..3ef30c2 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2965,11 +2965,11 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
         param = default_param;
 
     if (context != NULL) {
-        if ((context->srcW != srcW) || (context->srcH != srcH) ||
-            (context->srcFormat != srcFormat) ||
-            (context->dstW != dstW) || (context->dstH != dstH) ||
-            (context->dstFormat != dstFormat) || (context->flags != flags) ||
-            (context->param[0] != param[0]) || (context->param[1] != param[1]))
+        if (context->srcW != srcW || context->srcH != srcH ||
+            context->srcFormat != srcFormat ||
+            context->dstW != dstW || context->dstH != dstH ||
+            context->dstFormat != dstFormat || context->flags != flags ||
+            context->param[0] != param[0] || context->param[1] != param[1])
         {
             sws_freeContext(context);
             context = NULL;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list