matroskadec: bail on parsing of incorrect seek index segments

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Dustin Brody 2011-09-08 18:43:32 -04:00 committed by Anton Khirnov
parent 940173d4d1
commit 4a9628f276
1 changed files with 1 additions and 1 deletions

View File

@ -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) {