Commit 5e0f2832 authored by aurel's avatar aurel

matroskadec: remove useless check for cluster presence

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14583 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 63cb09a1
...@@ -1305,10 +1305,6 @@ matroska_read_header (AVFormatContext *s, ...@@ -1305,10 +1305,6 @@ matroska_read_header (AVFormatContext *s,
return -1; return -1;
matroska_execute_seekhead(matroska); matroska_execute_seekhead(matroska);
/* Have we found a cluster? */
if (ebml_peek_id(matroska, NULL) != MATROSKA_ID_CLUSTER)
return -1;
if (matroska->duration) if (matroska->duration)
matroska->ctx->duration = matroska->duration * matroska->time_scale matroska->ctx->duration = matroska->duration * matroska->time_scale
* 1000 / AV_TIME_BASE; * 1000 / AV_TIME_BASE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment