avfilter/vf_zoompan: Initialize ret
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Feb 2016 23:33:12 +0000 (00:33 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 Feb 2016 14:59:35 +0000 (15:59 +0100)
Silences: CID1351394

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_zoompan.c

index 8d0103b..99a1a34 100644 (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,