changeset 30601:d568b8b857ca

Reindent and fix brace placement.
author stefano
date Thu, 18 Feb 2010 21:20:37 +0000
parents e2935c75f1aa
children e69ef665b0fc
files libswscale/utils.c
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/utils.c	Thu Feb 18 21:17:07 2010 +0000
+++ b/libswscale/utils.c	Thu Feb 18 21:20:37 2010 +0000
@@ -1575,11 +1575,10 @@
          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,