diff options
author | James Almer <jamrial@gmail.com> | 2018-03-05 11:04:59 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-03-05 11:44:51 -0300 |
commit | df3a2ff7670a76c808fa015559b867aecbbdcd54 (patch) | |
tree | 506f724c1d1662a8269b21bafed66843dc30c43b /libavcodec/dvenc.c | |
parent | 69995a94d8409a704361dce9bc16ede7f88bdf1a (diff) | |
download | ffmpeg-df3a2ff7670a76c808fa015559b867aecbbdcd54.tar.gz |
avcodec/cbs: use a reference to the assembled CodedBitstreamFragment buffer when writing packets
This saves one malloc + memcpy per packet
The CodedBitstreamFragment buffer is padded to follow the requirements
of AVPacket.
Reviewed-by: jkqxz
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/dvenc.c')
0 files changed, 0 insertions, 0 deletions