ffmpeg | branch: master | Paul B Mahol <[email protected]> | 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;
     }

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to