changeset 3663:eb1c4a7b4aff libavformat

matroskadec: remove useless check for cluster presence
author aurel
date Tue, 05 Aug 2008 00:41:34 +0000
parents 7222dc75f80e
children 6a81fd414b18
files matroskadec.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Tue Aug 05 00:41:31 2008 +0000
+++ b/matroskadec.c	Tue Aug 05 00:41:34 2008 +0000
@@ -1305,10 +1305,6 @@
         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;