mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avformat/matroskaenc: Don't reserve unnecessarily many EBML elements
bda44f0f39e8ee646e54f15989d7845f4bf58d26 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:
parent
c797b6400d
commit
fd8a395cd7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user