From 07cac07c0c0360d67e73a7472214c79d6c520a4b Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 3 Jan 2016 20:31:13 +0100 Subject: [PATCH] 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 9c7e23aa8e..ce018602dd 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;