[FFmpeg-soc] [soc]: r4059 - libavfilter/vf_format.c

stefano subversion at mplayerhq.hu
Mon Feb 16 22:06:31 CET 2009


Author: stefano
Date: Mon Feb 16 22:06:30 2009
New Revision: 4059

Log:
Reindent after the last commit, also add a newline for improved
readability.

Modified:
   libavfilter/vf_format.c

Modified: libavfilter/vf_format.c
==============================================================================
--- libavfilter/vf_format.c	Mon Feb 16 22:03:55 2009	(r4058)
+++ libavfilter/vf_format.c	Mon Feb 16 22:06:30 2009	(r4059)
@@ -43,13 +43,14 @@ static av_cold int init(AVFilterContext 
             len = strlen(cur);
         else
             len = sep - cur;
-            if(len >= 32) {
-                av_log(ctx, AV_LOG_ERROR, "format name too long\n");
-                return -1;
-            }
-            memcpy(name, cur, len);
-            name[len] = 0;
-            fmt = avcodec_get_pix_fmt(name);
+        if(len >= 32) {
+            av_log(ctx, AV_LOG_ERROR, "format name too long\n");
+            return -1;
+        }
+
+        memcpy(name, cur, len);
+        name[len] = 0;
+        fmt = avcodec_get_pix_fmt(name);
 
         if(fmt == PIX_FMT_NONE) {
             av_log(ctx, AV_LOG_ERROR, "unknown pixel format\n");



More information about the FFmpeg-soc mailing list