summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-01-03 20:31:13 +0100
committerDiego Biurrun <diego@biurrun.de>2016-10-28 13:29:52 +0200
commit07cac07c0c0360d67e73a7472214c79d6c520a4b (patch)
tree917f643ed907219ce7977922af20d230a2c606ed /libavformat
parent3ec6f855d0f21d90a0494fb798c4cf203fdb3db0 (diff)
dash: Use correct ISO C scanf conversion specifier
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dashenc.c2
1 files changed, 1 insertions, 1 deletions
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;