summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-02-12 00:33:11 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-12 15:59:35 +0100
commit03b26a2514c5df8777f07b0e0964c0b4ca065d72 (patch)
treede7f8519d5c0507518faefb88c42b327091f13ae /libavfilter
parent0abdf7030eebe8b8fa1a7f8ddc5e5ea64feb1302 (diff)
downloadffmpeg-streaming-03b26a2514c5df8777f07b0e0964c0b4ca065d72.zip
ffmpeg-streaming-03b26a2514c5df8777f07b0e0964c0b4ca065d72.tar.gz
avfilter/vf_zoompan: Fix use of uninitialized variables
Fixes: CID1351392 Fixes: CID1351393 Fixes: CID1351395 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_zoompan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c
index 8d640e7..8d0103b 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) {
OpenPOWER on IntegriCloud