[FFmpeg-cvslog] matroskadec: fix incorrect unsigned->signed conversion
Dale Curtis
git at videolan.org
Thu Sep 20 13:44:11 CEST 2012
ffmpeg | branch: master | Dale Curtis <dalecurtis at chromium.org> | Thu Jun 14 15:22:25 2012 -0700| [df1d84121ba0656abb8bcfcb72b2a0b44a59fdbc] | committer: Luca Barbato
matroskadec: fix incorrect unsigned->signed conversion
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df1d84121ba0656abb8bcfcb72b2a0b44a59fdbc
---
libavformat/matroskadec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 0680a6e..deb272c 100644
--- 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;
- int pkt_size = lace_size[n];
+ uint32_t pkt_size = lace_size[n];
uint8_t *pkt_data = data;
if (pkt_size > size) {
More information about the ffmpeg-cvslog
mailing list