projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28ba69e
)
matroskadec: remove useless check for cluster presence
author
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 5 Aug 2008 00:41:34 +0000
(
00:41
+0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 5 Aug 2008 00:41:34 +0000
(
00:41
+0000)
Originally committed as revision 14583 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
b187f70
..
83d6352
100644
(file)
--- 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;