]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rv34.c
avformat: Remove deprecated av_demuxer_open()
[ffmpeg] / libavcodec / rv34.c
index 99e580a09abe73cc3ea57e6c42e7b6c2aac56bfd..e68072de067cdee54954cad67dbd4353953fcb08 100644 (file)
@@ -1503,15 +1503,6 @@ av_cold int ff_rv34_decode_init(AVCodecContext *avctx)
 
     ff_h264_pred_init(&r->h, AV_CODEC_ID_RV40, 8, 1);
 
-#if CONFIG_RV30_DECODER
-    if (avctx->codec_id == AV_CODEC_ID_RV30)
-        ff_rv30dsp_init(&r->rdsp);
-#endif
-#if CONFIG_RV40_DECODER
-    if (avctx->codec_id == AV_CODEC_ID_RV40)
-        ff_rv40dsp_init(&r->rdsp);
-#endif
-
     if ((ret = rv34_decoder_alloc(r)) < 0) {
         ff_mpv_common_end(&r->s);
         return ret;