aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/assdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-25 01:43:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-05 14:17:03 +0200
commit3e6dcf0b1aff77d742520261c83ebdaa68d0e5cd (patch)
treef878a352532c379585e198a4282b578ecdc74f08 /libavcodec/assdec.c
parentef6232aa38d2f1054f3c46ffe83cbfcbd7ce042c (diff)
downloadffmpeg-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 'libavcodec/assdec.c')
0 files changed, 0 insertions, 0 deletions