diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-01-31 09:21:55 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-03 00:26:02 +0100 |
commit | 8d4b22edc7b5b2cab2d42f3072aaa6b0244d581d (patch) | |
tree | 7b99c2d06eccceeecfb296b3dc2dcc64647e4ae7 /tests/ref/vsynth/vsynth_lena-v210 | |
parent | b9596daafbc7b262d07c5571f20bab255a399991 (diff) | |
download | ffmpeg-8d4b22edc7b5b2cab2d42f3072aaa6b0244d581d.tar.gz |
avformat/iamf_writer, iamfenc: Avoid allocations when using dyn buffers
Use avio_get_dyn_buf()+ffio_free_dyn_buf() instead of
avio_close_dyn_buf()+av_free(). This saves an allocation
(and memcpy) in case all the data fits in the AVIOContext's
write buffer.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/ref/vsynth/vsynth_lena-v210')
0 files changed, 0 insertions, 0 deletions