diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-27 13:22:10 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-11-28 15:20:37 -0300 |
commit | 3a58ec7c772563fbacba63289aa49bc56a496e3f (patch) | |
tree | b5029f86c9ac1ebc376c8e2175c665bb4885a567 /libavcodec/vaapi_vc1.c | |
parent | aad82270b60ad244330a137457f5a227fac9b175 (diff) | |
download | ffmpeg-3a58ec7c772563fbacba63289aa49bc56a496e3f.tar.gz |
avformat/matroskaenc: 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 (i.e. small master elements).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/vaapi_vc1.c')
0 files changed, 0 insertions, 0 deletions