Revert "decode: copy the output parameters from the last bsf in the chain back to...
[ffmpeg.git] / libavcodec / decode.c
index d10a2c8..2dab7f2 100644 (file)
@@ -221,10 +221,6 @@ int ff_decode_bsfs_init(AVCodecContext *avctx)
             goto fail;
     }
 
-    ret = avcodec_parameters_to_context(avctx, s->bsfs[s->nb_bsfs - 1]->par_out);
-    if (ret < 0)
-        return ret;
-
     return 0;
 fail:
     ff_decode_bsfs_uninit(avctx);