summaryrefslogtreecommitdiff
path: root/libavformat/avc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-11-27 13:22:07 +0100
committerJames Almer <jamrial@gmail.com>2019-11-28 15:20:37 -0300
commita31f68fb449eaf6f030ce5633435663f154bb34d (patch)
tree41579ac790215b1b84c484a97a873467c7e98dd0 /libavformat/avc.c
parent67ce9e0463e170179ece4abc33be716282a0202b (diff)
avformat/av1: Avoid allocation for small headers
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 headers. Furthermore, it simplifies freeing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/avc.c')
0 files changed, 0 insertions, 0 deletions