diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-20 13:26:59 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-11-20 11:22:14 -0300 |
commit | dbc50f8a935043243232b2e01f3c012ab6d49928 (patch) | |
tree | aebe8e4cabd7685fff890c0cd3bb8201e714249f /libavformat | |
parent | a16de215c917a2d17595116033a7013264aeca44 (diff) | |
download | ffmpeg-dbc50f8a935043243232b2e01f3c012ab6d49928.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>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index c224c3447a..bd6f08575b 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) }; |