mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
matroskadec: fix return code for too long xiph laces
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
740ebe468c
commit
14de77d677
@ -1993,7 +1993,7 @@ static int matroska_parse_laces(MatroskaDemuxContext *matroska, uint8_t **buf,
|
||||
for (n = 0; res == 0 && n < *laces - 1; n++) {
|
||||
while (1) {
|
||||
if (size == 0) {
|
||||
res = AVERROR_EOF;
|
||||
res = AVERROR_INVALIDDATA;
|
||||
break;
|
||||
}
|
||||
temp = *data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user