avfilter/vf_mix: initialize last to silence possible warning
authorPaul B Mahol <onemda@gmail.com>
Mon, 30 Apr 2018 18:42:17 +0000 (20:42 +0200)
committerPaul B Mahol <onemda@gmail.com>
Mon, 30 Apr 2018 18:45:05 +0000 (20:45 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_mix.c

index 14e0f19..d0cc7cb 100644 (file)
@@ -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");