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 66d2281..99bc663 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,