diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-20 13:26:59 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-03 22:25:16 +0200 |
commit | 2e0549f06d81ad5a31367ab90cb5240d95a0c4fe (patch) | |
tree | dcc7e3883dbd95a57b0a3d07fc52a67a403c82ed /libavformat | |
parent | 7df1cb3dce1e8cac2021b6773d9ab8ed511cd7ce (diff) | |
download | ffmpeg-2e0549f06d81ad5a31367ab90cb5240d95a0c4fe.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 6b95c58299..8ed54a1360 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -661,7 +661,7 @@ static const EbmlSyntax matroska_segments[] = { }; static const 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) }, { 0 } }; |