]> git.sesse.net Git - ffmpeg/commit
avformat/matroskaenc: Avoid seek when writing Cues at the front
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 29 Dec 2019 09:15:19 +0000 (10:15 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 2 Apr 2020 18:00:34 +0000 (20:00 +0200)
commit8e4c871196adfb16adf64f826c1291a4b0b0af4f
treeda9ac838161775ac4c61c15f105132a986dfe3d7
parentb788343446094203773968e5188ca53af5ed5d97
avformat/matroskaenc: Avoid seek when writing Cues at the front

When the Cues are written in front of the Cluster, the muxer would seek
to the beginning (to where the Cues ought to be written) and write the
Cues; afterwards it would seek back to the end of the file only to seek
to the beginning once again to update several elements there. This
commit removes the seek to the end.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/matroskaenc.c