• Andreas Rheinhardt's avatar
    avformat/matroskaenc: Avoid allocation for Cues · 5cdd2ebb
    Andreas Rheinhardt authored
    Up until now, the Matroska muxer would allocate a structure containing
    three members: The segment offset, a pointer to an array containing Cue
    (index) entries and a counter for said array. It is unnecessary to
    allocate it separately and it is unnecessary to contain the segment
    offset in said structure, as it duplicates another field contained in
    the MatroskaMuxContext. This commit implements the corresponding
    changes.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    5cdd2ebb
matroskaenc.c 101 KB