diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-27 13:22:11 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-11-28 15:20:37 -0300 |
commit | 4d97b2ad2fa6d851c70fd982ab300e4fd559f1d0 (patch) | |
tree | 4f8417b968d2b0a03fac106856768930fd5e4e77 /libavcodec/mathtables.c | |
parent | 3a58ec7c772563fbacba63289aa49bc56a496e3f (diff) | |
download | ffmpeg-4d97b2ad2fa6d851c70fd982ab300e4fd559f1d0.tar.gz |
avformat/movenc: Avoid allocation for small dynamic buffers
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 dynamic buffers.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mathtables.c')
0 files changed, 0 insertions, 0 deletions