diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-25 01:43:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-05 14:17:03 +0200 |
commit | 8fb25961b94c6b8306c62f239352a111fbfcf788 (patch) | |
tree | 50705ae8121f9eff341b630ee9069948366866c8 /libavformat/cdxl.c | |
parent | f471caaf90526eb6177c9c91591010c04f64a0c3 (diff) | |
download | ffmpeg-8fb25961b94c6b8306c62f239352a111fbfcf788.tar.gz |
avcodec/g726: 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 'libavformat/cdxl.c')
0 files changed, 0 insertions, 0 deletions