mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_mix: use av_sscanf()
This commit is contained in:
parent
9b2c325060
commit
2de165a92b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue