aboutsummaryrefslogtreecommitdiffstats
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 22:49:06 +0200
commit24b4c4c5baa397b7ad39cecddec0124b15ef74ec (patch)
tree5e1802dd56a68c3433d41a08322b4d8ba9b01330
parent6f6cd2e29df5ba0c957772a101790db22c7cab94 (diff)
downloadffmpeg-24b4c4c5baa397b7ad39cecddec0124b15ef74ec.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 1d83068f88..8a392c7b9a 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -660,7 +660,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 }
};