avfilter/vf_zoompan: Fix use of uninitialized variables
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Feb 2016 23:33:11 +0000 (00:33 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 Feb 2016 14:59:35 +0000 (15:59 +0100)
Fixes: CID1351392
Fixes: CID1351393
Fixes: CID1351395

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_zoompan.c

index 8d640e7..8d0103b 100644 (file)
@@ -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) {