diff options
author | John Stebbins <stebbins@jetheaddev.com> | 2014-08-08 08:11:20 -0700 |
---|---|---|
committer | John Stebbins <stebbins@jetheaddev.com> | 2014-08-14 07:58:49 -0700 |
commit | 998c9f15d1ca8c7489775ebcca51623b915988f1 (patch) | |
tree | dac8b4d6a607d44422c0ac6179b8507ae13a807e /libavcodec/rv34.c | |
parent | 93f29948e4b06acfb96e7f82d373ef86d6dc55f7 (diff) | |
download | ffmpeg-998c9f15d1ca8c7489775ebcca51623b915988f1.tar.gz |
idct: remove call to ff_idctdsp_init from ff_MPV_common_init
One step in untangling the mpegvideo code and fixing some problems in
the order that initialization is being done in h263dec and h261dec.
Diffstat (limited to 'libavcodec/rv34.c')
-rw-r--r-- | libavcodec/rv34.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c index 0c3634801c..7411f6fa4b 100644 --- a/libavcodec/rv34.c +++ b/libavcodec/rv34.c @@ -1488,6 +1488,7 @@ av_cold int ff_rv34_decode_init(AVCodecContext *avctx) avctx->has_b_frames = 1; s->low_delay = 0; + ff_mpv_idct_init(s); if ((ret = ff_MPV_common_init(s)) < 0) return ret; @@ -1524,6 +1525,7 @@ int ff_rv34_decode_init_thread_copy(AVCodecContext *avctx) if (avctx->internal->is_copy) { r->tmp_b_block_base = NULL; + ff_mpv_idct_init(&r->s); if ((err = ff_MPV_common_init(&r->s)) < 0) return err; if ((err = rv34_decoder_alloc(r)) < 0) { |