提交 2de165a9 编写于 作者: P Paul B Mahol

avfilter/vf_mix: use av_sscanf()

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册