mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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;
|
break;
|
||||||
|
|
||||||
p = NULL;
|
p = NULL;
|
||||||
sscanf(arg, "%f", &s->weights[i]);
|
av_sscanf(arg, "%f", &s->weights[i]);
|
||||||
s->wfactor += s->weights[i];
|
s->wfactor += s->weights[i];
|
||||||
last = i;
|
last = i;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user