summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-03-09 12:00:09 +0100
committerAnton Khirnov <anton@khirnov.net>2021-03-16 11:09:44 +0100
commitb006a84a97e7c8131a9e561d6c642edef6215977 (patch)
treeb223374fca5397481e759c37c314f711cedc9e28 /libavcodec/utils.c
parent20aec597d05f1930dbd4e4c5ab8ee837dea5b5f3 (diff)
lavc: move decoder bsf init into decoder-specific code
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 3eae531297..c072ca5489 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -730,12 +730,6 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code
goto free_and_end;
}
- if (av_codec_is_decoder(avctx->codec)) {
- ret = ff_decode_bsfs_init(avctx);
- if (ret < 0)
- goto free_and_end;
- }
-
if (HAVE_THREADS
&& !(avci->frame_thread_encoder && (avctx->active_thread_type&FF_THREAD_FRAME))) {
ret = ff_thread_init(avctx);