aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenccenc.h
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 12:31:09 +0200
commit6c69251b038944b4deee4e5fa7dd32b78492ae60 (patch)
tree5d85a676bd001745166881b24b967256c4b09e47 /libavformat/movenccenc.h
parent1106f206453b8ab29f5b6972522def49d08e6288 (diff)
downloadffmpeg-6c69251b038944b4deee4e5fa7dd32b78492ae60.tar.gz
avcodec/bmpenc: 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 <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/movenccenc.h')
0 files changed, 0 insertions, 0 deletions