[FFmpeg-cvslog] dash: Use correct ISO C scanf conversion specifier

Diego Biurrun git at videolan.org
Mon Mar 27 23:09:46 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Jan  3 20:31:13 2016 +0100| [07cac07c0c0360d67e73a7472214c79d6c520a4b] | committer: Diego Biurrun

dash: Use correct ISO C scanf conversion specifier

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=07cac07c0c0360d67e73a7472214c79d6c520a4b
---

 libavformat/dashenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 9c7e23a..ce01860 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -130,7 +130,7 @@ static void set_codec_str(AVFormatContext *s, AVCodecParameters *par,
         tags[0] = ff_mp4_obj_type;
         oti = av_codec_get_tag(tags, par->codec_id);
         if (oti)
-            av_strlcatf(str, size, ".%02x", oti);
+            av_strlcatf(str, size, ".%02"SCNx32, oti);
         else
             return;
 



More information about the ffmpeg-cvslog mailing list