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/decode.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/decode.c')
-rw-r--r-- | libavcodec/decode.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 48a61d5419..f3327d74af 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -231,7 +231,7 @@ int ff_decode_bsfs_init(AVCodecContext *avctx) return 0; fail: - ff_decode_bsfs_uninit(avctx); + av_bsf_free(&avci->bsf); return ret; } @@ -2005,8 +2005,3 @@ void avcodec_flush_buffers(AVCodecContext *avctx) if (!avctx->refcounted_frames) av_frame_unref(avci->to_free); } - -void ff_decode_bsfs_uninit(AVCodecContext *avctx) -{ - av_bsf_free(&avctx->internal->bsf); -} |