Commit 4a9628f2 authored by Dustin Brody's avatar Dustin Brody Committed by Anton Khirnov

matroskadec: bail on parsing of incorrect seek index segments

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 940173d4
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment