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

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


Author: vitor
Date: Sat May 24 22:40:20 2008
New Revision: 13316

Log:
Improve error handling
Commited in SoC by Vitor Sessak on 2008-04-12 14:32:13


Modified:
   trunk/libavfilter/graphparser.c

Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c	(original)
+++ trunk/libavfilter/graphparser.c	Sat May 24 22:40:20 2008
@@ -268,7 +268,9 @@ static int parse_inouts(const char **buf
         if(!name)
             return -1;
 
-        handle_link(name, inout, pad++, type, filter);
+        if(handle_link(name, inout, pad++, type, filter) < 0)
+            return -1;
+
         consume_whitespace(buf);
     }
     return pad;




More information about the ffmpeg-cvslog mailing list