Commit f9f684c0 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_zoompan: Initialize ret

Silences: CID1351394
Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 03b26a25
...@@ -266,7 +266,7 @@ static int request_frame(AVFilterLink *outlink) ...@@ -266,7 +266,7 @@ static int request_frame(AVFilterLink *outlink)
ZPContext *s = ctx->priv; ZPContext *s = ctx->priv;
AVFrame *in = s->in; AVFrame *in = s->in;
double zoom=1, dx=0, dy=0; double zoom=1, dx=0, dy=0;
int ret; int ret = -1;
if (in) { if (in) {
ret = output_single_frame(ctx, in, s->var_values, s->current_frame, ret = output_single_frame(ctx, in, s->var_values, s->current_frame,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment