1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-04-24 04:44:54 +02:00

avfilter/vf_mix: use av_sscanf()

This commit is contained in:
Paul B Mahol
2018-11-18 20:35:21 +01:00
parent 9b2c325060
commit 2de165a92b
+1 -1
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;
}