Commit 2de165a9 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_mix: use av_sscanf()

parent 9b2c3250
...@@ -108,7 +108,7 @@ static av_cold int init(AVFilterContext *ctx) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment