mirror of https://github.com/FFmpeg/FFmpeg.git
The APNG encoder already uses internal buffers, so that the packet size is already known before allocating the packet; therefore one can avoid another (implicit) intermediate buffer by switching to ff_get_encode_buffer(), thereby also supporting user-supplied buffers. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/362/head
parent
aaefb84b04
commit
250d8661ab
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue