summaryrefslogtreecommitdiff
path: root/libavformat/wtvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-03 12:48:04 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-03 12:48:28 +0100
commitb6413cdc02f3ec9434fb6ab739e699b99b2154f6 (patch)
tree0402b2f4f20e392ca3a3ff1004fe76133c73fac9 /libavformat/wtvdec.c
parent08e7644b685398e34a8577dd8d1c6f5d036dee79 (diff)
parentc0bba95c2363641d3297b3852b2ece1474cda295 (diff)
downloadffmpeg-b6413cdc02f3ec9434fb6ab739e699b99b2154f6.tar.gz
Merge commit 'c0bba95c2363641d3297b3852b2ece1474cda295'
* commit 'c0bba95c2363641d3297b3852b2ece1474cda295': wtv: fix variable sign in format Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/wtvdec.c')
-rw-r--r--libavformat/wtvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index 9bbea9ca16..4dfe7010d1 100644
--- a/libavformat/wtvdec.c
+++ b/libavformat/wtvdec.c
@@ -506,7 +506,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);