Browse Source

avfilter/vf_zoompan: Initialize ret

Silences: CID1351394

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Michael Niedermayer 10 years ago
parent
commit
f9f684c0fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_zoompan.c

+ 1
- 1
libavfilter/vf_zoompan.c View File

@@ -266,7 +266,7 @@ static int request_frame(AVFilterLink *outlink)
ZPContext *s = ctx->priv;
AVFrame *in = s->in;
double zoom=1, dx=0, dy=0;
int ret;
int ret = -1;

if (in) {
ret = output_single_frame(ctx, in, s->var_values, s->current_frame,


Loading…
Cancel
Save