avfilter/vf_mix: initialize last to silence possible warning

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/298/head
Paul B Mahol 7 years ago
parent c0aa89eeee
commit da55304caf
  1. 2
      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");

Loading…
Cancel
Save