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

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


Author: vitor
Date: Sat May 24 22:40:14 2008
New Revision: 13314

Log:
Better error handling
Commited in SoC by Vitor Sessak on 2008-04-12 14:28:30


Modified:
   trunk/libavfilter/graphparser.c

Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c	(original)
+++ trunk/libavfilter/graphparser.c	Sat May 24 22:40:14 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-cvslog mailing list