[FFmpeg-cvslog] avfilter/vf_mix: use av_sscanf()
Paul B Mahol
git at videolan.org
Sun Nov 18 22:24:44 EET 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Nov 18 20:35:21 2018 +0100| [2de165a92bac7585aa2aeca79eb7263ff077ff7d] | committer: Paul B Mahol
avfilter/vf_mix: use av_sscanf()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2de165a92bac7585aa2aeca79eb7263ff077ff7d
---
libavfilter/vf_mix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c
index d0cc7cb830..f84b9bd974 100644
--- a/libavfilter/vf_mix.c
+++ b/libavfilter/vf_mix.c
@@ -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;
}
More information about the ffmpeg-cvslog
mailing list