avformat/matroskadec: remove now duplicate doctype check

See: b8d7f3186e
See: d9fe6b926c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/133/head
Michael Niedermayer 10 years ago
parent 9a0f60a0f8
commit 0cab0931dc
  1. 3
      libavformat/matroskadec.c

@ -2088,8 +2088,7 @@ static int matroska_read_header(AVFormatContext *s)
if (ebml.version > EBML_VERSION ||
ebml.max_size > sizeof(uint64_t) ||
ebml.id_length > sizeof(uint32_t) ||
ebml.doctype_version > 3 ||
!ebml.doctype) {
ebml.doctype_version > 3) {
av_log(matroska->ctx, AV_LOG_ERROR,
"EBML header using unsupported features\n"
"(EBML version %"PRIu64", doctype %s, doc version %"PRIu64")\n",

Loading…
Cancel
Save