Commit 71529bd8 authored by Dale Curtis's avatar Dale Curtis Committed by Michael Niedermayer

Fix incorrect unsigned->signed conversion.

Signed-off-by: 's avatarDale Curtis <dalecurtis@chromium.org>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 15f89411
......@@ -2040,7 +2040,8 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data,
}
} else {
MatroskaTrackEncoding *encodings = track->encodings.elem;
int offset = 0, pkt_size = lace_size[n];
int offset = 0;
uint32_t pkt_size = lace_size[n];
uint8_t *pkt_data = data;
if (pkt_size > size) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment