diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-27 13:22:09 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-11-28 15:20:37 -0300 |
commit | aad82270b60ad244330a137457f5a227fac9b175 (patch) | |
tree | bb18b009bd08d355302a52bce2b44e673cd79f4b /libavcodec/cbs.h | |
parent | c36a3df67692113af15f7accb006f02956882817 (diff) | |
download | ffmpeg-aad82270b60ad244330a137457f5a227fac9b175.tar.gz |
avformat/id3v2enc: Avoid allocation for small tags
By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of
avio_close_dyn_buf() + av_free() one can avoid an allocation + copy for
small tags. Furthermore, it simplifies freeing.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/cbs.h')
0 files changed, 0 insertions, 0 deletions