diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c index 8d640e7a20..8d0103bf0f 100644 --- a/libavfilter/vf_zoompan.c +++ b/libavfilter/vf_zoompan.c @@ -265,7 +265,7 @@ static int request_frame(AVFilterLink *outlink) AVFilterContext *ctx = outlink->src; ZPContext *s = ctx->priv; AVFrame *in = s->in; - double zoom, dx, dy; + double zoom=1, dx=0, dy=0; int ret; if (in) {