[FFmpeg-cvslog] avfilter/REDUCE_FORMATS: fix bug that ended reducing too early
Michael Niedermayer
git at videolan.org
Mon Jul 22 02:54:55 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jul 22 01:55:48 2013 +0200| [5169111145bc1d08861a059346ac8900b9aee716] | committer: Michael Niedermayer
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 at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5169111145bc1d08861a059346ac8900b9aee716
---
libavfilter/avfiltergraph.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 8c40002..177ad4f 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; \
} \
\
More information about the ffmpeg-cvslog
mailing list