[FFmpeg-cvslog] r14583 - trunk/libavformat/matroskadec.c

aurel subversion
Tue Aug 5 02:41:35 CEST 2008


Author: aurel
Date: Tue Aug  5 02:41:34 2008
New Revision: 14583

Log:
matroskadec: remove useless check for cluster presence

Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Tue Aug  5 02:41:34 2008
@@ -1305,10 +1305,6 @@ matroska_read_header (AVFormatContext   
         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;




More information about the ffmpeg-cvslog mailing list