avformat/matroskadec: remove now duplicate doctype check

See: b8d7f3186e
See: d9fe6b926c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-04-19 16:45:24 +02:00
parent 9a0f60a0f8
commit 0cab0931dc
1 changed files with 1 additions and 2 deletions

View File

@ -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",