mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 13:40:55 +00:00
matroskadec: remove useless check for cluster presence
Originally committed as revision 14583 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
28ba69e097
commit
051ef5cef5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user