avcodec/bsf: Add ff_bsf_get_packet_ref() function
authorJan Sebechlebsky <sebechlebskyjan@gmail.com>
Thu, 28 Jul 2016 16:18:13 +0000 (18:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 Aug 2016 10:46:18 +0000 (12:46 +0200)
commit7ae52f8a6b4a137f79b032b7094b3d5867839d52
tree37983483de0994f74168b16ae5d2e4305fb7fff2
parent79dc94a63b30369e39792e81cb032f2cf40539b4
avcodec/bsf: Add ff_bsf_get_packet_ref() function

Use of this function can save unnecessary malloc operation
in bitstream filter.

Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/bsf.c
libavcodec/bsf.h