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>
This commit is contained in:
James Almer
2020-05-20 00:59:32 -03:00
parent 70faa9f618
commit d3bedba97f
3 changed files with 7 additions and 10 deletions

View File

@@ -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);
}