aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-11-18 20:35:21 +0100
committerPaul B Mahol <onemda@gmail.com>2018-11-18 21:21:18 +0100
commit2de165a92bac7585aa2aeca79eb7263ff077ff7d (patch)
tree2d7f0a10a1bf340d335f6c91dee81af21d092a1c /libavfilter
parent9b2c325060c7d04c88374fcad0fbff364976915a (diff)
downloadffmpeg-2de165a92bac7585aa2aeca79eb7263ff077ff7d.tar.gz
avfilter/vf_mix: use av_sscanf()
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_mix.c2
1 files changed, 1 insertions, 1 deletions
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;
}