matroskadec: fix incorrect unsigned->signed conversion

This commit is contained in:
Dale Curtis 2012-06-14 15:22:25 -07:00 committed by Luca Barbato
parent 8d4dd55c37
commit df1d84121b

View File

@ -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) {