aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc.h
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
commit63218fc2d09c37b20b17d82a2e565dbb0d2c34b5 (patch)
tree2387d1836f01c12388682743eafde9140422827a /libavcodec/hevc.h
parent6e2fe9958a96d14298151803e39203e2ab11332b (diff)
downloadffmpeg-63218fc2d09c37b20b17d82a2e565dbb0d2c34b5.tar.gz
avcodec/g722enc: 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/hevc.h')
0 files changed, 0 insertions, 0 deletions