summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/matroska.h1
-rw-r--r--libavformat/matroskadec.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/matroska.h b/libavformat/matroska.h
index b1f7ae4ed5..0dbc724d56 100644
--- a/libavformat/matroska.h
+++ b/libavformat/matroska.h
@@ -176,6 +176,7 @@
#define MATROSKA_ID_BLOCK 0xA1
#define MATROSKA_ID_BLOCKDURATION 0x9B
#define MATROSKA_ID_BLOCKREFERENCE 0xFB
+#define MATROSKA_ID_CODECSTATE 0xA4
/* IDs in the attachments master */
#define MATROSKA_ID_ATTACHEDFILE 0x61A7
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 744f7c0f6c..3b801e0845 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -500,6 +500,7 @@ static EbmlSyntax matroska_blockgroup[] = {
{ MATROSKA_ID_SIMPLEBLOCK, EBML_BIN, 0, offsetof(MatroskaBlock,bin) },
{ MATROSKA_ID_BLOCKDURATION, EBML_UINT, 0, offsetof(MatroskaBlock,duration), {.u=AV_NOPTS_VALUE} },
{ MATROSKA_ID_BLOCKREFERENCE, EBML_UINT, 0, offsetof(MatroskaBlock,reference) },
+ { MATROSKA_ID_CODECSTATE, EBML_NONE },
{ 1, EBML_UINT, 0, offsetof(MatroskaBlock,non_simple), {.u=1} },
{ 0 }
};