mirror of https://github.com/FFmpeg/FFmpeg.git
Here the packet size is known before allocating the packet because the encoder itself works with an internal buffer, so one can use this information to avoid the implicit use of another intermediate buffer for the packet data; one can also switch to ff_get_encode_buffer() and directly use user-supplied buffers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/362/head
parent
a3f02388f1
commit
4fda451c9f
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue