• Andreas Rheinhardt's avatar
    avformat/matroskaenc: Unify writing level 1 elements preliminarily · 851283a7
    Andreas Rheinhardt authored
    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: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    851283a7
matroskaenc.c 103 KB