From 03b26a2514c5df8777f07b0e0964c0b4ca065d72 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 12 Feb 2016 00:33:11 +0100 Subject: [PATCH] avfilter/vf_zoompan: Fix use of uninitialized variables Fixes: CID1351392 Fixes: CID1351393 Fixes: CID1351395 Reviewed-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavfilter/vf_zoompan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {