aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-06-20 01:45:03 +0200
committerMark Thompson <sw@jkqxz.net>2019-07-07 22:57:55 +0100
commitd78553cc4c791d0e276b37e1f2687301b02ea4a7 (patch)
treea8984b4e7fc597574b020aa90fe501264c346632 /tests
parent3f81cc8c94586ccd500827b606c1eabfb6e2dadb (diff)
downloadffmpeg-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 'tests')
0 files changed, 0 insertions, 0 deletions