Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r--libavfilter/graphparser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 278530ed27..c0fdb95b56 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++;