From 051ef5cef5ac5e884d859eb96f30598b497013ff Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Tue, 5 Aug 2008 00:41:34 +0000 Subject: matroskadec: remove useless check for cluster presence Originally committed as revision 14583 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroskadec.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavformat/matroskadec.c') 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; -- cgit v1.2.3