[FFmpeg-soc] [soc]: r2126 - libavfilter/graphparser.c

vitor subversion at mplayerhq.hu
Sat Apr 12 16:16:35 CEST 2008


Author: vitor
Date: Sat Apr 12 16:16:34 2008
New Revision: 2126

Log:
Simplify

Modified:
   libavfilter/graphparser.c

Modified: libavfilter/graphparser.c
==============================================================================
--- libavfilter/graphparser.c	(original)
+++ libavfilter/graphparser.c	Sat Apr 12 16:16:34 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-soc mailing list