mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/matroskadec: set the default value for BlockAddIDType
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
44513156e3
commit
6def862559
@ -358,6 +358,10 @@ typedef enum {
|
||||
MATROSKA_VIDEO_PROJECTION_TYPE_MESH = 3,
|
||||
} MatroskaVideoProjectionType;
|
||||
|
||||
typedef enum {
|
||||
MATROSKA_BLOCK_ADD_ID_TYPE_DEFAULT = 0,
|
||||
} MatroskaBlockAddIDType;
|
||||
|
||||
/*
|
||||
* Matroska Codec IDs, strings
|
||||
*/
|
||||
|
@ -591,7 +591,7 @@ static EbmlSyntax matroska_track_operation[] = {
|
||||
static EbmlSyntax matroska_block_addition_mapping[] = {
|
||||
{ MATROSKA_ID_BLKADDIDVALUE, EBML_UINT, 0, 0, offsetof(MatroskaBlockAdditionMapping, value) },
|
||||
{ MATROSKA_ID_BLKADDIDNAME, EBML_STR, 0, 0, offsetof(MatroskaBlockAdditionMapping, name) },
|
||||
{ MATROSKA_ID_BLKADDIDTYPE, EBML_UINT, 0, 0, offsetof(MatroskaBlockAdditionMapping, type) },
|
||||
{ MATROSKA_ID_BLKADDIDTYPE, EBML_UINT, 0, 0, offsetof(MatroskaBlockAdditionMapping, type), { .u = MATROSKA_BLOCK_ADD_ID_TYPE_DEFAULT } },
|
||||
{ MATROSKA_ID_BLKADDIDEXTRADATA, EBML_BIN, 0, 0, offsetof(MatroskaBlockAdditionMapping, extradata) },
|
||||
CHILD_OF(matroska_track)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user