[FFmpeg-cvslog] avfilter/vf_zoompan: fix specific corner case when no frame was ever requested from input

Paul B Mahol git at videolan.org
Thu Sep 7 17:54:11 EEST 2017


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Sep  7 16:49:46 2017 +0200| [e1524de4546beab75cbf600fdde6c14204a66059] | committer: Paul B Mahol

avfilter/vf_zoompan: fix specific corner case when no frame was ever requested from input

Reported-by: Nicolas George
Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1524de4546beab75cbf600fdde6c14204a66059
---

 libavfilter/vf_zoompan.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c
index 14d0a1707b..0635171b57 100644
--- a/libavfilter/vf_zoompan.c
+++ b/libavfilter/vf_zoompan.c
@@ -133,6 +133,7 @@ static int config_output(AVFilterLink *outlink)
     outlink->time_base = av_inv_q(s->framerate);
     outlink->frame_rate = s->framerate;
     s->desc = av_pix_fmt_desc_get(outlink->format);
+    s->finished = 1;
 
     ret = av_expr_parse(&s->zoom_expr, s->zoom_expr_str, var_names, NULL, NULL, NULL, NULL, 0, ctx);
     if (ret < 0)



More information about the ffmpeg-cvslog mailing list