From cf2719abeecb0a656d9bceebfca1a45e64f0cef7 Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Sun, 20 Sep 2015 09:34:05 -0500 Subject: [PATCH] lavf/matroska: ignore ChapCountry ID for now Signed-off-by: Michael Niedermayer --- libavformat/matroska.h | 1 + libavformat/matroskadec.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/matroska.h b/libavformat/matroska.h index 344b2c32fa..a654e0c623 100644 --- a/libavformat/matroska.h +++ b/libavformat/matroska.h @@ -218,6 +218,7 @@ #define MATROSKA_ID_CHAPTERDISPLAY 0x80 #define MATROSKA_ID_CHAPSTRING 0x85 #define MATROSKA_ID_CHAPLANG 0x437C +#define MATROSKA_ID_CHAPCOUNTRY 0x437E #define MATROSKA_ID_EDITIONUID 0x45BC #define MATROSKA_ID_EDITIONFLAGHIDDEN 0x45BD #define MATROSKA_ID_EDITIONFLAGDEFAULT 0x45DB diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 43ad9af0db..7a094a6fb8 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -474,8 +474,9 @@ static const EbmlSyntax matroska_attachments[] = { }; static const EbmlSyntax matroska_chapter_display[] = { - { MATROSKA_ID_CHAPSTRING, EBML_UTF8, 0, offsetof(MatroskaChapter, title) }, - { MATROSKA_ID_CHAPLANG, EBML_NONE }, + { MATROSKA_ID_CHAPSTRING, EBML_UTF8, 0, offsetof(MatroskaChapter, title) }, + { MATROSKA_ID_CHAPLANG, EBML_NONE }, + { MATROSKA_ID_CHAPCOUNTRY, EBML_NONE }, { 0 } };