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:
8d4dd55
)
matroskadec: fix incorrect unsigned->signed conversion
author
Dale Curtis
<dalecurtis@chromium.org>
Thu, 14 Jun 2012 22:22:25 +0000
(15:22 -0700)
committer
Luca Barbato
<lu_zero@gentoo.org>
Wed, 19 Sep 2012 18:34:14 +0000
(20:34 +0200)
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
0680a6e
..
deb272c
100644
(file)
--- a/
libavformat/matroskadec.c
+++ b/
libavformat/matroskadec.c
@@
-1924,7
+1924,7
@@
static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data,
}
} else {
MatroskaTrackEncoding *encodings = track->encodings.elem;
-
in
t pkt_size = lace_size[n];
+
uint32_
t pkt_size = lace_size[n];
uint8_t *pkt_data = data;
if (pkt_size > size) {