diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-03 12:48:04 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-03 12:48:28 +0100 |
commit | b6413cdc02f3ec9434fb6ab739e699b99b2154f6 (patch) | |
tree | 0402b2f4f20e392ca3a3ff1004fe76133c73fac9 | |
parent | 08e7644b685398e34a8577dd8d1c6f5d036dee79 (diff) | |
parent | c0bba95c2363641d3297b3852b2ece1474cda295 (diff) | |
download | ffmpeg-b6413cdc02f3ec9434fb6ab739e699b99b2154f6.tar.gz |
Merge commit 'c0bba95c2363641d3297b3852b2ece1474cda295'
* commit 'c0bba95c2363641d3297b3852b2ece1474cda295':
wtv: fix variable sign in format
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/wtvdec.c | 2 |
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); |