summaryrefslogtreecommitdiff
path: root/libavcodec/vc1dec.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-02-19 18:12:06 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-03-25 15:52:24 -0400
commit68127e1bf8037a6e0acd6401cc8c5da950e3fa0a (patch)
tree7e79655bdd06f656b0deb39a831a1aa814d8c204 /libavcodec/vc1dec.c
parent65127450add50c3bca307edc0517d2e8382717a0 (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/vc1dec.c')
-rw-r--r--libavcodec/vc1dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index c67fffa48a..9e64a6bcd3 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -379,7 +379,7 @@ av_cold int ff_vc1_decode_init_alloc_tables(VC1Context *v)
}
}
- ret = ff_intrax8_common_init(&v->x8, s);
+ ret = ff_intrax8_common_init(&v->x8, &s->idsp, s);
if (ret < 0)
goto error;