Commit 03b26a25 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_zoompan: Fix use of uninitialized variables

Fixes: CID1351392
Fixes: CID1351393
Fixes: CID1351395
Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0abdf703
...@@ -265,7 +265,7 @@ static int request_frame(AVFilterLink *outlink) ...@@ -265,7 +265,7 @@ static int request_frame(AVFilterLink *outlink)
AVFilterContext *ctx = outlink->src; AVFilterContext *ctx = outlink->src;
ZPContext *s = ctx->priv; ZPContext *s = ctx->priv;
AVFrame *in = s->in; AVFrame *in = s->in;
double zoom, dx, dy; double zoom=1, dx=0, dy=0;
int ret; int ret;
if (in) { if (in) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment