[FFmpeg-cvslog] r13313 - trunk/libavfilter/graphparser.c

vitor subversion
Sat May 24 22:40:10 CEST 2008


Author: vitor
Date: Sat May 24 22:40:10 2008
New Revision: 13313

Log:
Simplify
Commited in SoC by Vitor Sessak on 2008-04-12 14:16:34


Modified:
   trunk/libavfilter/graphparser.c

Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c	(original)
+++ trunk/libavfilter/graphparser.c	Sat May 24 22:40:10 2008
@@ -156,13 +156,9 @@ static void parse_link_name(const char *
     if(*(*buf)++ != ']') {
         av_log(&log_ctx, AV_LOG_ERROR,
                "Mismatched '[' found in the following: \"%s\".\n", start);
-        goto fail;
+    fail:
+        av_freep(name);
     }
-
-    return;
-
- fail:
-    av_freep(name);
 }
 
 /**




More information about the ffmpeg-cvslog mailing list