diff --git a/libavcodec/decode.c b/libavcodec/decode.c index ef09568381..2319e76e4b 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -202,9 +202,6 @@ static int decode_bsfs_init(AVCodecContext *avctx) goto fail; ret = av_bsf_init(avci->bsf); - if (ret < 0) - goto fail; - ret = avcodec_parameters_to_context(avctx, avci->bsf->par_out); if (ret < 0) goto fail;