diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-30 15:37:15 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-03-30 05:43:44 +0200 |
commit | 5cdd2ebb55f760d06d35b71a421b8433851b92e9 (patch) | |
tree | 4e1cec52db91c7eadfbf09d8c1726da981874c13 /tests/audiogen.c | |
parent | 6cf69f0e72d6429ed54db0a21f165da7b06ca7e4 (diff) | |
download | ffmpeg-5cdd2ebb55f760d06d35b71a421b8433851b92e9.tar.gz |
avformat/matroskaenc: Avoid allocation for Cues
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: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/audiogen.c')
0 files changed, 0 insertions, 0 deletions