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 21:19:05 +0200 |
commit | 41b03de299307f3683dc0ed63cea2e14fb158ef8 (patch) | |
tree | 12f564a4ee666b0b5762298bca35c686a6726c6d | |
parent | de3d708dbf6dd2982dfde48c002463759ca6945b (diff) | |
download | ffmpeg-41b03de299307f3683dc0ed63cea2e14fb158ef8.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)
-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 2b42cff9a8..87ff2db86d 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -684,7 +684,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 } }; |