diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-05 00:41:34 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-05 00:41:34 +0000 |
commit | 051ef5cef5ac5e884d859eb96f30598b497013ff (patch) | |
tree | c91a0ccf4728c60676f60367263b591a16299934 /libavformat/matroskadec.c | |
parent | 28ba69e09796a13d37311b1ffbed86e271836a3f (diff) |
matroskadec: remove useless check for cluster presence
Originally committed as revision 14583 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 4 |
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; |