diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-25 01:43:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-05 14:17:03 +0200 |
commit | 6e2fe9958a96d14298151803e39203e2ab11332b (patch) | |
tree | 218d37c43c854c1e38a6f946626c032a37e3f2e7 /libavcodec/libwebpenc_animencoder.c | |
parent | ae7a7dc458113e62add7c559c555efccab4f8eee (diff) | |
download | ffmpeg-6e2fe9958a96d14298151803e39203e2ab11332b.tar.gz |
avcodec/fitsenc: Avoid copying packet data, allow user-supplied buffers
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.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/libwebpenc_animencoder.c')
0 files changed, 0 insertions, 0 deletions