diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-06-20 01:45:03 +0200 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-07-07 22:57:55 +0100 |
commit | d78553cc4c791d0e276b37e1f2687301b02ea4a7 (patch) | |
tree | a8984b4e7fc597574b020aa90fe501264c346632 /libavfilter/af_vibrato.c | |
parent | 3f81cc8c94586ccd500827b606c1eabfb6e2dadb (diff) | |
download | ffmpeg-d78553cc4c791d0e276b37e1f2687301b02ea4a7.tar.gz |
h264_redundant_pps: Avoid allocations and copies of packet structures
This commit changes h264_redundant_pps 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 'libavfilter/af_vibrato.c')
0 files changed, 0 insertions, 0 deletions