aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacenc_pred.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-06-17 05:42:13 +0200
committerMark Thompson <sw@jkqxz.net>2019-07-07 22:17:07 +0100
commita72cc47a275a62c9a36f9df8c912e6f1cd820fc7 (patch)
tree0c313dcf817b7adec2c6ba8f491093636b303263 /libavcodec/aacenc_pred.h
parent36fcdc3fbe089bc01066e2afa5645f383025f0ec (diff)
downloadffmpeg-a72cc47a275a62c9a36f9df8c912e6f1cd820fc7.tar.gz
h264_metadata: Avoid allocations and copies of packet structures
This commit changes h264_metadata to (a) use ff_bsf_get_packet_ref instead of ff_bsf_get_packet (thereby avoiding one malloc and free per filtered packet) and (b) to use only one packet structure at all, thereby avoiding a call to av_packet_copy_props. (b) has been made possible by the recent changes to ff_cbs_write_packet. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/aacenc_pred.h')
0 files changed, 0 insertions, 0 deletions