avfilter/vf_mix: initialize last to silence possible warning

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2018-04-30 20:42:17 +02:00
parent c0aa89eeee
commit da55304caf
1 changed files with 1 additions and 1 deletions

View 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");