aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorDustin Brody <libav@parsoma.net>2011-09-08 18:43:32 -0400
committerAnton Khirnov <anton@khirnov.net>2011-09-15 09:34:16 +0200
commit4a9628f276a883949f361058b4a7a20477276da0 (patch)
tree22ddf273ce3ec267c8ba3f35db5863615f94522a /libavformat
parent940173d4d1e40b025f0ac15f2572eef537fb1186 (diff)
downloadffmpeg-4a9628f276a883949f361058b4a7a20477276da0.tar.gz
matroskadec: bail on parsing of incorrect seek index segments
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroskadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 037997742c..8402967da3 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -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) {