mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 05:40:56 +00:00
Fix incorrect unsigned->signed conversion.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
15f8941108
commit
71529bd8c5
@ -2040,7 +2040,8 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
MatroskaTrackEncoding *encodings = track->encodings.elem;
|
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;
|
uint8_t *pkt_data = data;
|
||||||
|
|
||||||
if (pkt_size > size) {
|
if (pkt_size > size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user