diff options
author | Andreas Rheinhardt <[email protected]> | 2021-04-25 01:43:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2021-05-05 13:55:42 +0200 |
commit | ae7a7dc458113e62add7c559c555efccab4f8eee (patch) | |
tree | 8a2e42687c6b157a57c4cef1599d75e72fe21c57 /libavutil/utils.c | |
parent | 1393c7edae338fd6fd3d53bde824646e1841ab2c (diff) |
avcodec/dpxenc: 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; this also makes it easy
to allow user-supplied buffers. Only one thing needed to be changed:
One can no longer use a pointer to uint16_t for the destination buffer
because its alignment is unknown.
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavutil/utils.c')
0 files changed, 0 insertions, 0 deletions