From f9f684c0fb8cca97e2bb6102cc018da47e530d17 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 12 Feb 2016 00:33:12 +0100 Subject: [PATCH] avfilter/vf_zoompan: Initialize ret Silences: CID1351394 Reviewed-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavfilter/vf_zoompan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c index 8d0103bf0f..99a1a346a3 100644 --- a/libavfilter/vf_zoompan.c +++ b/libavfilter/vf_zoompan.c @@ -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,