diff options
author | Andreas Rheinhardt <[email protected]> | 2021-04-25 01:43:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2021-05-05 12:27:04 +0200 |
commit | ad232c6833d9f192324c9e99c19d1b4dd7852828 (patch) | |
tree | f343cf249ae02ce4a43adef0e199739dd95b0a0c /libavformat/rtmppkt.c | |
parent | 39bb36d7231b4dd5eec8105903cd8e323b2c0474 (diff) |
avcodec/adxenc: 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 <[email protected]>
Diffstat (limited to 'libavformat/rtmppkt.c')
0 files changed, 0 insertions, 0 deletions