mirror of https://github.com/FFmpeg/FFmpeg.git
This commit changes filter_units 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 (or, in case of passthrough, to av_packet_move_ref). (b) has been made possible by the recent changes to ff_cbs_write_packet. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/316/head
parent
57f9bc90ae
commit
b0810454e4
1 changed files with 6 additions and 15 deletions
Loading…
Reference in new issue