1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt b0810454e4 filter_units: Avoid allocations and copies of packet structures
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>
2019-07-07 22:17:07 +01:00
..
2019-06-26 21:29:35 +02:00
2019-04-19 14:01:04 +02:00
2019-06-12 20:06:20 +10:00
2019-06-12 20:06:20 +10:00
2019-06-26 21:25:10 +02:00
2019-07-07 11:33:19 +02:00
2019-06-12 20:06:20 +10:00
2019-04-21 19:43:14 +02:00
2019-05-06 23:58:34 +02:00
2019-06-30 14:27:04 +02:00
2019-06-29 19:22:19 +02:00
2019-07-01 13:24:57 +08:00
2019-04-27 12:33:08 +02:00
2019-06-25 13:30:09 +02:00
2019-06-29 19:22:19 +02:00
2019-05-07 11:00:19 +08:00
2019-06-26 21:26:04 +02:00
2019-06-12 20:06:20 +10:00
2019-06-12 20:06:20 +10:00
2019-05-02 15:36:16 +02:00
2019-05-02 15:36:16 +02:00