diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-06 19:39:19 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-14 13:41:26 +0200 |
commit | b99fb4df42871e16077c3248ab9cfd8cfd034a85 (patch) | |
tree | 87ca86c1b127fbfeb87a382cf2729b536775fd3d /libavutil/mem.c | |
parent | b2793a946257da3c62522c5d8e2e8e0cb534d0e9 (diff) | |
download | ffmpeg-b99fb4df42871e16077c3248ab9cfd8cfd034a85.tar.gz |
avcodec/bsf: Use null-bsf for passthrough when available
When an empty list bsf is used for passthrough, there is a check
for every packet in bsf_list_filter() before ff_bsf_get_packet_ref()
is called. Directly using the null bsf avoids that.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/mem.c')
0 files changed, 0 insertions, 0 deletions