mirror of https://github.com/FFmpeg/FFmpeg.git
When the packet size is known in advance like here, one can avoid an intermediate buffer for the packet data by using ff_get_encode_buffer() and also set AV_CODEC_CAP_DR1 at the same time. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/362/head
parent
398822a70e
commit
91567c28fc
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue