Browse Source

avfilter/vf_mix: use av_sscanf()

tags/n4.2
Paul B Mahol 6 years ago
parent
commit
2de165a92b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_mix.c

+ 1
- 1
libavfilter/vf_mix.c View File

@@ -108,7 +108,7 @@ static av_cold int init(AVFilterContext *ctx)
break;

p = NULL;
sscanf(arg, "%f", &s->weights[i]);
av_sscanf(arg, "%f", &s->weights[i]);
s->wfactor += s->weights[i];
last = i;
}


Loading…
Cancel
Save