diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c index d0cc7cb830..f84b9bd974 100644 --- a/libavfilter/vf_mix.c +++ b/libavfilter/vf_mix.c @@ -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; }