mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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@gmail.com>
This commit is contained in:
parent
afc9c683ed
commit
e1524de454
@ -133,6 +133,7 @@ static int config_output(AVFilterLink *outlink)
|
|||||||
outlink->time_base = av_inv_q(s->framerate);
|
outlink->time_base = av_inv_q(s->framerate);
|
||||||
outlink->frame_rate = s->framerate;
|
outlink->frame_rate = s->framerate;
|
||||||
s->desc = av_pix_fmt_desc_get(outlink->format);
|
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);
|
ret = av_expr_parse(&s->zoom_expr, s->zoom_expr_str, var_names, NULL, NULL, NULL, NULL, 0, ctx);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user