1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +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

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;
}