Module: libav
Branch: master
Commit: 07cac07c0c0360d67e73a7472214c79d6c520a4b

Author:    Diego Biurrun <[email protected]>
Committer: Diego Biurrun <[email protected]>
Date:      Sun Jan  3 20:31:13 2016 +0100

dash: Use correct ISO C scanf conversion specifier

---

 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;
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to