mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
matroskadec: bail on parsing of incorrect seek index segments
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
940173d4d1
commit
4a9628f276
@ -1148,7 +1148,7 @@ static int matroska_parse_seekhead_entry(MatroskaDemuxContext *matroska, int idx
|
||||
matroska->num_levels++;
|
||||
matroska->current_id = 0;
|
||||
|
||||
ebml_parse(matroska, matroska_segment, matroska);
|
||||
ret = ebml_parse(matroska, matroska_segment, matroska);
|
||||
|
||||
/* remove dummy level */
|
||||
while (matroska->num_levels) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user