aboutsummaryrefslogtreecommitdiffstats
path: root/ffbuild
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-11-27 13:22:08 +0100
committerJames Almer <jamrial@gmail.com>2019-11-28 15:20:37 -0300
commitc36a3df67692113af15f7accb006f02956882817 (patch)
tree60577fddd354d23ba870680024be550cf97bf952 /ffbuild
parenta31f68fb449eaf6f030ce5633435663f154bb34d (diff)
downloadffmpeg-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 'ffbuild')
0 files changed, 0 insertions, 0 deletions