[FFmpeg-cvslog] matroskadec: bail on parsing of incorrect seek index segments
Dustin Brody
git at videolan.org
Thu Sep 15 23:20:42 CEST 2011
ffmpeg | branch: master | Dustin Brody <libav at parsoma.net> | Thu Sep 8 18:43:32 2011 -0400| [4a9628f276a883949f361058b4a7a20477276da0] | committer: Anton Khirnov
matroskadec: bail on parsing of incorrect seek index segments
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4a9628f276a883949f361058b4a7a20477276da0
---
libavformat/matroskadec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 0379977..8402967 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) {
More information about the ffmpeg-cvslog
mailing list