summaryrefslogtreecommitdiff
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index b187f70153..83d6352a22 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1305,10 +1305,6 @@ matroska_read_header (AVFormatContext *s,
return -1;
matroska_execute_seekhead(matroska);
- /* Have we found a cluster? */
- if (ebml_peek_id(matroska, NULL) != MATROSKA_ID_CLUSTER)
- return -1;
-
if (matroska->duration)
matroska->ctx->duration = matroska->duration * matroska->time_scale
* 1000 / AV_TIME_BASE;