avfilter/vf_zoompan: Initialize ret

Silences: CID1351394

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/174/merge
Michael Niedermayer 9 years ago
parent 03b26a2514
commit f9f684c0fb
  1. 2
      libavfilter/vf_zoompan.c

@ -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,

Loading…
Cancel
Save