mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/matroskadec: remove now duplicate doctype check
See:b8d7f3186e
See:d9fe6b926c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9a0f60a0f8
commit
0cab0931dc
|
@ -2088,8 +2088,7 @@ static int matroska_read_header(AVFormatContext *s)
|
||||||
if (ebml.version > EBML_VERSION ||
|
if (ebml.version > EBML_VERSION ||
|
||||||
ebml.max_size > sizeof(uint64_t) ||
|
ebml.max_size > sizeof(uint64_t) ||
|
||||||
ebml.id_length > sizeof(uint32_t) ||
|
ebml.id_length > sizeof(uint32_t) ||
|
||||||
ebml.doctype_version > 3 ||
|
ebml.doctype_version > 3) {
|
||||||
!ebml.doctype) {
|
|
||||||
av_log(matroska->ctx, AV_LOG_ERROR,
|
av_log(matroska->ctx, AV_LOG_ERROR,
|
||||||
"EBML header using unsupported features\n"
|
"EBML header using unsupported features\n"
|
||||||
"(EBML version %"PRIu64", doctype %s, doc version %"PRIu64")\n",
|
"(EBML version %"PRIu64", doctype %s, doc version %"PRIu64")\n",
|
||||||
|
|
Loading…
Reference in New Issue