From 2de165a92bac7585aa2aeca79eb7263ff077ff7d Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 18 Nov 2018 20:35:21 +0100 Subject: [PATCH] avfilter/vf_mix: use av_sscanf() --- libavfilter/vf_mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }