You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
avformat/matroskaenc: Don't reserve unnecessarily many EBML elements
bda44f0f39
added code that
potentially added another BlockMore master and BlockAdditional
data as well as BlockAddID number, yet it bumped the number
of EBML elements by four instead of only three.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -2709,8 +2709,8 @@ 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);
|
||||
int ret;
|
||||
EBML_WRITER(13);
|
||||
|
||||
mkv->cur_block.track = track;
|
||||
mkv->cur_block.pkt = pkt;
|
||||
|
Reference in New Issue
Block a user