aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/rv40dsp_init_arm.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-06-20 01:45:09 +0200
committerMark Thompson <sw@jkqxz.net>2019-07-07 23:04:33 +0100
commit98b122cdb9ef0920b7774e110407158805d6c136 (patch)
tree5f4495b529e0530c19a846f56a33cdc977230bd7 /libavcodec/arm/rv40dsp_init_arm.c
parent42114094da35264c2b6710efa3772b2d5de6ba46 (diff)
downloadffmpeg-98b122cdb9ef0920b7774e110407158805d6c136.tar.gz
vp9_metadata: Avoid allocations and copies of packet structures
This commit changes vp9_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/arm/rv40dsp_init_arm.c')
0 files changed, 0 insertions, 0 deletions