mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/333/head
parent
67ce9e0463
commit
a31f68fb44
1 changed files with 5 additions and 9 deletions
Loading…
Reference in new issue