|
|
|
@@ -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; |
|
|
|
|