aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacps_float.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-10-17 10:29:45 +0200
committerJames Almer <jamrial@gmail.com>2019-10-17 12:35:23 -0300
commitba191c0ce044a71e49b5bef97dd84d00aa37f4e4 (patch)
tree8fcad3bce0fd9e8a2a2bec218535ae8800c8baaa /libavcodec/aacps_float.c
parent0279e727e99282dfa6c7019f468cb217543be243 (diff)
downloadffmpeg-ba191c0ce044a71e49b5bef97dd84d00aa37f4e4.tar.gz
vp9_superframe: Avoid allocations and copies of packet structures
Up until now, the vp9_superframe bsf used distinct packets for input and output. But at no point in the bsf are the input and output packets used at the same time (except during a call to av_packet_move_ref()), so that one can avoid using two packets if one switches to ff_bsf_get_packet_ref at the same time. This also saves one malloc+free of an AVPacket structure per filtered packet. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/aacps_float.c')
0 files changed, 0 insertions, 0 deletions