OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5858a67
)
wtv: fix variable sign in format
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Sun, 27 Oct 2013 17:05:19 +0000
(18:05 +0100)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Sun, 3 Nov 2013 10:51:40 +0000
(11:51 +0100)
libavformat/wtv.c
patch
|
blob
|
history
diff --git
a/libavformat/wtv.c
b/libavformat/wtv.c
index
b144eb6
..
0c24fd7
100644
(file)
--- 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);