diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-29 06:31:07 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-06 09:45:17 +0200 |
commit | 851283a777b7f841eed49ff6d0417aa18c9d732e (patch) | |
tree | 016e2b68496320768e6c54d10de44c470f47c4b3 /libavcodec/libwavpackenc.c | |
parent | 4ed3c925c370aa8dd0658d8248a1a60ac2c70337 (diff) | |
download | ffmpeg-851283a777b7f841eed49ff6d0417aa18c9d732e.tar.gz |
avformat/matroskaenc: Unify writing level 1 elements preliminarily
The Matroska muxer updates several header elements when the output is
seekable; if unseekable, the buffer containing the contents of the element
is immediately freed after writing. Before this commit, there were three
places doing exactly the same: Checking whether the output is seekable
and calling the function that writes and frees or the function that
just writes the EBML master. This has been unified; adding SeekHead
entries for these elements has been unified, too.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/libwavpackenc.c')
0 files changed, 0 insertions, 0 deletions