avformat/matroskadec: request a sample with recursive seek heads
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Dec 2014 21:45:34 +0000 (22:45 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Dec 2014 21:45:34 +0000 (22:45 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskadec.c

index e9ba1e9..9c476c1 100644 (file)
@@ -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)