aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-10-27 18:05:19 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2013-11-03 11:51:40 +0100
commitc0bba95c2363641d3297b3852b2ece1474cda295 (patch)
tree8b2b6d6b18af787b8f36497d541f173ede171030
parent5858a67f135a7395c548482c73cf3d39bcdd3022 (diff)
downloadffmpeg-c0bba95c2363641d3297b3852b2ece1474cda295.tar.gz
wtv: fix variable sign in format
-rw-r--r--libavformat/wtv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wtv.c b/libavformat/wtv.c
index b144eb6c32..0c24fd7eb9 100644
--- a/libavformat/wtv.c
+++ b/libavformat/wtv.c
@@ -525,7 +525,7 @@ static void get_tag(AVFormatContext *s, AVIOContext *pb, const char *key, int ty
else
snprintf(buf, buf_size, "%"PRIi64, num);
} else if (type == 5 && length == 2) {
- snprintf(buf, buf_size, "%"PRIi16, avio_rl16(pb));
+ snprintf(buf, buf_size, "%u", avio_rl16(pb));
} else if (type == 6 && length == 16) {
ff_asf_guid guid;
avio_read(pb, guid, 16);