matroskadec: fix incorrect unsigned->signed conversion

release/1.0
Dale Curtis 13 years ago committed by Luca Barbato
parent 8d4dd55c37
commit df1d84121b
  1. 2
      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) {

Loading…
Cancel
Save