diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c index d0cc7cb83071fa139477a8023dd6bba707dfb214..f84b9bd97471ffa94c9ed232de2f232f05523d2a 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; }