[FFmpeg-cvslog] avformat/matroskadec: request a sample with recursive seek heads

Michael Niedermayer git at videolan.org
Sun Dec 7 22:55:57 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Dec  7 22:45:34 2014 +0100| [72c984432ecc2f906214ad2e53293bd301dc12ac] | committer: Michael Niedermayer

avformat/matroskadec: request a sample with recursive seek heads

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=72c984432ecc2f906214ad2e53293bd301dc12ac
---

 libavformat/matroskadec.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index e9ba1e9..9c476c1 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1441,6 +1441,9 @@ static void matroska_execute_seekhead(MatroskaDemuxContext *matroska)
             break;
         }
     }
+    if (nb_elem != seekhead_list->nb_elem) {
+        avpriv_request_sample(matroska->ctx, "recursive SeekHead elements");
+    }
 }
 
 static void matroska_add_index_entries(MatroskaDemuxContext *matroska)



More information about the ffmpeg-cvslog mailing list