aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_levels.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
commit27b0a5204d7d1a56abba1bf981123cc29a9f17bc (patch)
tree79365f8efd17d0b73c241036cf866e5ec5807dcf /libavcodec/h264_levels.c
parent1dc8f237872daed6bca9a2e444fd60c5bbf72b44 (diff)
downloadffmpeg-27b0a5204d7d1a56abba1bf981123cc29a9f17bc.tar.gz
avcodec/v308enc: 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/h264_levels.c')
0 files changed, 0 insertions, 0 deletions