You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
mkv: forward EMBL block data error
Do not return 0 on error.
This commit is contained in:
@@ -1717,7 +1717,7 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data,
|
|||||||
|
|
||||||
if ((n = matroska_ebmlnum_uint(matroska, data, size, &num)) < 0) {
|
if ((n = matroska_ebmlnum_uint(matroska, data, size, &num)) < 0) {
|
||||||
av_log(matroska->ctx, AV_LOG_ERROR, "EBML block data error\n");
|
av_log(matroska->ctx, AV_LOG_ERROR, "EBML block data error\n");
|
||||||
return res;
|
return n;
|
||||||
}
|
}
|
||||||
data += n;
|
data += n;
|
||||||
size -= n;
|
size -= n;
|
||||||
|
Reference in New Issue
Block a user