mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02: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…
x
Reference in New Issue
Block a user