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 | 3e6dcf0b1aff77d742520261c83ebdaa68d0e5cd (patch) | |
tree | f878a352532c379585e198a4282b578ecdc74f08 /libavformat/swfenc.c | |
parent | ef6232aa38d2f1054f3c46ffe83cbfcbd7ce042c (diff) | |
download | ffmpeg-3e6dcf0b1aff77d742520261c83ebdaa68d0e5cd.tar.gz |
avcodec/pcm-dvdenc: 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/swfenc.c')
0 files changed, 0 insertions, 0 deletions