diff options
author | James Almer <jamrial@gmail.com> | 2020-05-20 06:59:32 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-05-21 18:32:15 +0300 |
commit | d3bedba97fcbc395d61c509ab41da4fec498db2b (patch) | |
tree | 3a7a75fe7becfeb4caa75edb4ac84bd8031b4613 /libavcodec/utils.c | |
parent | 70faa9f618183956d42d520f516b6d0c8e3d81ce (diff) |
avcodec/decode: remove ff_decode_bsfs_uninit()
It's been a wrapper for a simple av_bsf_free() call since c96904f525.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 91b271a717..3255679550 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1045,7 +1045,7 @@ FF_ENABLE_DEPRECATION_WARNINGS av_packet_free(&avci->last_pkt_props); av_packet_free(&avci->ds.in_pkt); - ff_decode_bsfs_uninit(avctx); + av_bsf_free(&avci->bsf); av_buffer_unref(&avci->pool); } @@ -1106,7 +1106,7 @@ av_cold int avcodec_close(AVCodecContext *avctx) avctx->hwaccel->uninit(avctx); av_freep(&avctx->internal->hwaccel_priv_data); - ff_decode_bsfs_uninit(avctx); + av_bsf_free(&avctx->internal->bsf); av_freep(&avctx->internal); } |