diff options
author | Martin Storsjö <martin@martin.st> | 2015-01-21 16:45:29 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-01-22 08:49:41 +0200 |
commit | 3a724a7f3ba7fa766c6a6f0924a15cc742031b8d (patch) | |
tree | 9b7d29d7b13332c8a1c16928d2424a35ddc51dec /libavformat/dashenc.c | |
parent | 1d8aa23794cc63e9517d5055a2d48040b843b1cf (diff) | |
download | ffmpeg-3a724a7f3ba7fa766c6a6f0924a15cc742031b8d.tar.gz |
dashenc: Use inttypes.h macros for format strings instead of %lld
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/dashenc.c')
-rw-r--r-- | libavformat/dashenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 25fed12934..d715654ca7 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -282,7 +282,7 @@ static DASHTmplId dash_read_tmpl_id(const char *identifier, char *format_tag, // next parse the dash format-tag and generate a c-string format tag // (next_ptr now points at the first '%' at the beginning of the format-tag) if (id_type != DASH_TMPL_ID_UNDEFINED) { - const char *number_format = (id_type == DASH_TMPL_ID_TIME) ? "lld" : "d"; + const char *number_format = (id_type == DASH_TMPL_ID_TIME) ? PRId64 : "d"; if (next_ptr[0] == '$') { // no dash format-tag snprintf(format_tag, format_tag_size, "%%%s", number_format); *ptr = &next_ptr[1]; |