diff options
author | Andreas Rheinhardt <[email protected]> | 2021-04-25 01:43:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2021-05-05 14:17:03 +0200 |
commit | ef6232aa38d2f1054f3c46ffe83cbfcbd7ce042c (patch) | |
tree | 0d0fb8558f4e81e740ea9287587f78deac10664b /tools/fourcc2pixfmt.c | |
parent | 8fb25961b94c6b8306c62f239352a111fbfcf788 (diff) |
avcodec/nellymoserenc: 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 'tools/fourcc2pixfmt.c')
0 files changed, 0 insertions, 0 deletions