Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-11-20 15:26:59 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-04 00:21:13 +0300
commitde9507480ad2833ad0b7fa63b1ff0ed6ed0fc376 (patch)
tree0751bba68a18f1bcf8d5de158aea61e6156bb2ad /libavformat
parent5df3efbdd6bf5ec723b4932e7c6296bea097d718 (diff)
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 0ab5caf652..be864f427b 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -585,7 +585,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 }
};