OSDN Git Service

Description: remove superfluous parentheses.
authorBenoit Fouet <benoit.fouet@free.fr>
Thu, 17 Jan 2008 08:12:23 +0000 (08:12 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Thu, 17 Jan 2008 08:12:23 +0000 (08:12 +0000)
Originally committed as revision 25776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

index 05e1def..3ef30c2 100644 (file)
@@ -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;