aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-22 01:55:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-22 02:48:13 +0200
commit5169111145bc1d08861a059346ac8900b9aee716 (patch)
tree258054d10758ed58cee550a90b09866dc01cc0c5 /libavfilter/avfiltergraph.c
parent682e8a694f6ce0fd83af73b828593d99412ad928 (diff)
downloadffmpeg-5169111145bc1d08861a059346ac8900b9aee716.tar.gz
avfilter/REDUCE_FORMATS: fix bug that ended reducing too early
Prior to this it was possible that format reduction was ended before it fully propagated leading to failure later in picking formats. No testcase with unmodified source exists, the case was reproduced with less aggressive list merging though. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 8c400028d8..177ad4f610 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -616,6 +616,7 @@ do { \
\
if (!out_link->in_ ## list->nb) { \
add_format(&out_link->in_ ##list, fmt); \
+ ret = 1; \
break; \
} \
\