diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-20 00:46:49 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-25 15:55:49 -0400 |
commit | 159323897f545e7405fb9db234e0ba123e174376 (patch) | |
tree | 2a3c2502e1f29d65cb42eca43d4d62fb16df6b88 /libavcodec/intrax8.c | |
parent | 1eaae7abb8f208fefb4e8b9e983e61b2499206a3 (diff) | |
download | ffmpeg-159323897f545e7405fb9db234e0ba123e174376.tar.gz |
intrax8: Add a local BlockDSPContext and initialize it
Helps in decoupling this code from mpegvideo.
Diffstat (limited to 'libavcodec/intrax8.c')
-rw-r--r-- | libavcodec/intrax8.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c index b35d25214b..e7eda24ad4 100644 --- a/libavcodec/intrax8.c +++ b/libavcodec/intrax8.c @@ -587,7 +587,7 @@ static int x8_decode_intra_mb(IntraX8Context *const w, const int chroma) int sign; assert(w->orient < 12); - s->bdsp.clear_block(s->block[0]); + w->bdsp.clear_block(s->block[0]); if (chroma) dc_mode = 2; @@ -762,6 +762,7 @@ av_cold int ff_intrax8_common_init(AVCodecContext *avctx, ff_wmv1_scantable[3]); ff_intrax8dsp_init(&w->dsp); + ff_blockdsp_init(&w->bdsp, avctx); return 0; } |