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 | b66ca3b8d41e6488c7e650d034f242086d432f24 (patch) | |
tree | ee2e688bb4557935bb3322759d9e05b4221e0612 /libavformat/yuv4mpegenc.c | |
parent | 14407e84b9674e09094422a252bc02302cffd009 (diff) | |
download | ffmpeg-b66ca3b8d41e6488c7e650d034f242086d432f24.tar.gz |
avcodec/xfaceenc: 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 'libavformat/yuv4mpegenc.c')
0 files changed, 0 insertions, 0 deletions