From 5169111145bc1d08861a059346ac8900b9aee716 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 22 Jul 2013 01:55:48 +0200 Subject: [PATCH] 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 --- libavfilter/avfiltergraph.c | 1 + 1 file changed, 1 insertion(+) 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; \ } \ \