aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_mix.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-04-30 20:42:17 +0200
committerPaul B Mahol <onemda@gmail.com>2018-04-30 20:45:05 +0200
commitda55304cafea712f1f78955f931c33f83c687477 (patch)
treed5d6eb268b2d9d1da7ca456a3a7435ade5a7fd37 /libavfilter/vf_mix.c
parentc0aa89eeee2af2a4898258b29badea2f935a4836 (diff)
downloadffmpeg-da55304cafea712f1f78955f931c33f83c687477.tar.gz
avfilter/vf_mix: initialize last to silence possible warning
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_mix.c')
-rw-r--r--libavfilter/vf_mix.c2
1 files changed, 1 insertions, 1 deletions
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");