mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avformat/matroskaenc: Increase size of EBML_WRITER array
7faa6ee2aa added support
for writing AV_PKT_DATA_DYNAMIC_HDR_SMPTE_2094_APP5,
yet forgot to update the size of the EBML element buffer.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -2852,7 +2852,11 @@ static int mkv_write_block(void *logctx, MatroskaMuxContext *mkv,
|
||||
size_t side_data_size;
|
||||
uint64_t additional_id;
|
||||
unsigned track_number = track->track_num;
|
||||
EBML_WRITER(12);
|
||||
// BlockGroup, Block, BlockDuration, DiscardPadding, BlockReference
|
||||
// and BlockAdditions with three elements per BlockMore
|
||||
// Don't forget to increment the number of BlockMore when adding
|
||||
// support for writing a new blockadditional.
|
||||
EBML_WRITER(5 + (1 + 3 * 3));
|
||||
int ret;
|
||||
|
||||
mkv->cur_block.track = track;
|
||||
|
||||
Reference in New Issue
Block a user