Reindent and fix brace placement.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 18 Feb 2010 21:20:37 +0000 (21:20 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 18 Feb 2010 21:20:37 +0000 (21:20 +0000)
Originally committed as revision 30643 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/utils.c

index 66d22811f8615f6678f751d504ab47aa47e4cc30..99bc663840c085de16a77e85922a12c269b6d5f3 100644 (file)
@@ -1575,11 +1575,10 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
          context->dstFormat != dstFormat ||
          context->flags     != flags     ||
          context->param[0]  != param[0]  ||
-         context->param[1]  != param[1]))
-        {
-            sws_freeContext(context);
-            context = NULL;
-        }
+         context->param[1]  != param[1])) {
+        sws_freeContext(context);
+        context = NULL;
+    }
 
     if (!context) {
         return sws_getContext(srcW, srcH, srcFormat,