mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user