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

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


Author: vitor
Date: Sat Apr 12 16:28:30 2008
New Revision: 2127

Log:
Better error handling

Modified:
   libavfilter/graphparser.c

Modified: libavfilter/graphparser.c
==============================================================================
--- libavfilter/graphparser.c	(original)
+++ libavfilter/graphparser.c	Sat Apr 12 16:28:30 2008
@@ -335,6 +335,9 @@ int avfilter_parse_graph(AVFilterGraph *
 
         pad = parse_inouts(&filters, &inout, 0, LinkTypeOut, filter);
 
+        if(pad < 0)
+            goto fail;
+
         consume_whitespace(&filters);
 
         chr = *filters++;



More information about the FFmpeg-soc mailing list