From da55304cafea712f1f78955f931c33f83c687477 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 30 Apr 2018 20:42:17 +0200 Subject: avfilter/vf_mix: initialize last to silence possible warning Signed-off-by: Paul B Mahol --- libavfilter/vf_mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_mix.c') diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c index 14e0f19e2d..d0cc7cb830 100644 --- a/libavfilter/vf_mix.c +++ b/libavfilter/vf_mix.c @@ -74,7 +74,7 @@ static av_cold int init(AVFilterContext *ctx) { MixContext *s = ctx->priv; char *p, *arg, *saveptr = NULL; - int i, ret, last; + int i, ret, last = 0; s->tmix = !strcmp(ctx->filter->name, "tmix"); -- cgit v1.2.3