diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 11:40:34 +0300 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 11:40:34 +0300 |
commit | e3287077ecff33bd02227b85ec760fe47d796f54 (patch) | |
tree | d94ccb713264f90ad6048bfab85ef7fb85807fca /libavformat/matroskadec.c | |
parent | b6c293d5e609a7b651c47d3de4749840ae00492e (diff) | |
parent | 67deba8a416d818f3d95aef0aa916589090396e2 (diff) |
Merge commit '67deba8a416d818f3d95aef0aa916589090396e2'
* commit '67deba8a416d818f3d95aef0aa916589090396e2':
Use avpriv_report_missing_feature() where appropriate
Merged-by: Clément Bœsch <cboesch@gopro.com>
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 2e2a814b4f..3ec1636584 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2548,10 +2548,9 @@ static int matroska_read_header(AVFormatContext *s) ebml.max_size > sizeof(uint64_t) || ebml.id_length > sizeof(uint32_t) || 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", - ebml.version, ebml.doctype, ebml.doctype_version); + avpriv_report_missing_feature(matroska->ctx, + "EBML version %"PRIu64", doctype %s, doc version %"PRIu64, + ebml.version, ebml.doctype, ebml.doctype_version); ebml_free(ebml_syntax, &ebml); return AVERROR_PATCHWELCOME; } else if (ebml.doctype_version == 3) { |