diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-11-26 19:41:54 -0800 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-11-26 19:41:54 -0800 |
commit | 028a2375e25d66d1f927f8a0b531eaaf6642cf5c (patch) | |
tree | 5a1f0dee54df7100e72cbe27123b7a67535e7aea | |
parent | f11b0e95434937aba4ec652d1fc08cc17a71e151 (diff) | |
download | ffmpeg-028a2375e25d66d1f927f8a0b531eaaf6642cf5c.tar.gz |
mov: Make format string match variable type.
-rw-r--r-- | libavformat/mov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 356a5e8ff4..c883de39a0 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -89,7 +89,7 @@ static int mov_metadata_int8_bypass_padding(MOVContext *c, AVIOContext *pb, avio_r8(pb); avio_r8(pb); - snprintf(buf, sizeof(buf), "%hu", avio_r8(pb)); + snprintf(buf, sizeof(buf), "%d", avio_r8(pb)); av_dict_set(&c->fc->metadata, key, buf, 0); return 0; @@ -100,7 +100,7 @@ static int mov_metadata_int8_no_padding(MOVContext *c, AVIOContext *pb, { char buf[16]; - snprintf(buf, sizeof(buf), "%hu", avio_r8(pb)); + snprintf(buf, sizeof(buf), "%d", avio_r8(pb)); av_dict_set(&c->fc->metadata, key, buf, 0); return 0; |