mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-28 02:02:46 +00:00
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>
This commit is contained in:
parent
0abdf7030e
commit
03b26a2514
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user