[SCM] libav/experimental: Better error handling Commited in SoC by Vitor Sessak on 2008-04-12 14:28:30

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:21:23 UTC 2013


The following commit has been merged in the experimental branch:
commit e84f0b628768942d8f2e8e1013edbe75965746f1
Author: Vitor Sessak <vitor1001 at gmail.com>
Date:   Sat May 24 20:40:14 2008 +0000

    Better error handling
    Commited in SoC by Vitor Sessak on 2008-04-12 14:28:30
    
    Originally committed as revision 13314 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 278530e..c0fdb95 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -335,6 +335,9 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
 
         pad = parse_inouts(&filters, &inout, 0, LinkTypeOut, filter);
 
+        if(pad < 0)
+            goto fail;
+
         consume_whitespace(&filters);
 
         chr = *filters++;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list