diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-27 13:22:08 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-11-28 15:20:37 -0300 |
commit | c36a3df67692113af15f7accb006f02956882817 (patch) | |
tree | 60577fddd354d23ba870680024be550cf97bf952 /CONTRIBUTING.md | |
parent | a31f68fb449eaf6f030ce5633435663f154bb34d (diff) | |
download | ffmpeg-c36a3df67692113af15f7accb006f02956882817.tar.gz |
avformat/avc: Avoid allocation for small SPS/PPS arrays
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 extradata. Furthermore, it simplifies freeing.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions