diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-20 02:12:06 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-25 22:52:24 +0300 |
commit | 68127e1bf8037a6e0acd6401cc8c5da950e3fa0a (patch) | |
tree | 7e79655bdd06f656b0deb39a831a1aa814d8c204 /libavcodec/wmv2dec.c | |
parent | 65127450add50c3bca307edc0517d2e8382717a0 (diff) |
intrax8: Keep a reference to the context idctdsp
Use it instead of the embedded mpegvideo one. Update init function
signature to load it directly from the callers.
Diffstat (limited to 'libavcodec/wmv2dec.c')
-rw-r--r-- | libavcodec/wmv2dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index 5bfedbd695..03b949e560 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -471,7 +471,7 @@ static av_cold int wmv2_decode_init(AVCodecContext *avctx) ff_wmv2_common_init(w); - return ff_intrax8_common_init(&w->x8, &w->s); + return ff_intrax8_common_init(&w->x8, &w->s.idsp, &w->s); } static av_cold int wmv2_decode_end(AVCodecContext *avctx) |