mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 18:02:11 +00:00
matroskadec: fix incorrect unsigned->signed conversion
This commit is contained in:
parent
8d4dd55c37
commit
df1d84121b
@ -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…
Reference in New Issue
Block a user