• Andreas Rheinhardt's avatar
    avformat/matroskaenc: Avoid unnecessary seek · b1c3d711
    Andreas Rheinhardt authored
    When writing the SeekHead (a form of index) at the end of the muxing
    process, mkv_write_seekhead() would first seek to the position where the
    SeekHead ought to be written, then write it there and seek back to the
    original position afterwards. Which means: To the end of the file.
    Afterwards, a seek to the beginning of the file is performed to update
    further values. This of course means that the second seek in
    mkv_write_seekhead() was unnecessary.
    
    This has been changed: A new parameter was added to mkv_write_seekhead()
    containing the destination for the second seek, effectively eliminating
    the seek to the end of the file after writing the SeekHead.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    b1c3d711
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...