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 | 14407e84b9674e09094422a252bc02302cffd009 (patch) | |
tree | b85c7e21efb7432b3b97c175ae0096998d8b3147 /libavcodec/mpeg12.c | |
parent | 7bfa533793cc18eeab9f127e1be795260f6db108 (diff) | |
download | ffmpeg-14407e84b9674e09094422a252bc02302cffd009.tar.gz |
avcodec/v410enc: 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/mpeg12.c')
0 files changed, 0 insertions, 0 deletions