aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-11-20 13:26:59 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-03 21:12:52 +0200
commit5b61639a21022b8057f7d59e619e6d964d0123a1 (patch)
tree6edeeb1508b83e9438f43e9d6c3b28fc40b9c963 /libavformat
parent3eedf1599be64fbbb092045fb24e5b22e1149a43 (diff)
downloadffmpeg-5b61639a21022b8057f7d59e619e6d964d0123a1.tar.gz
avformat/matroskadec: Fix default value of BlockAddID
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit dbc50f8a935043243232b2e01f3c012ab6d49928)
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroskadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 316394d034..a43cc0bf19 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -707,7 +707,7 @@ static EbmlSyntax matroska_segments[] = {
};
static EbmlSyntax matroska_blockmore[] = {
- { MATROSKA_ID_BLOCKADDID, EBML_UINT, 0, offsetof(MatroskaBlock,additional_id) },
+ { MATROSKA_ID_BLOCKADDID, EBML_UINT, 0, offsetof(MatroskaBlock,additional_id), { .u = 1 } },
{ MATROSKA_ID_BLOCKADDITIONAL, EBML_BIN, 0, offsetof(MatroskaBlock,additional) },
CHILD_OF(matroska_blockadditions)
};