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

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


Author: vitor
Date: Sat Apr 12 16:32:13 2008
New Revision: 2129

Log:
Improve error handling

Modified:
   libavfilter/graphparser.c

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