summaryrefslogtreecommitdiff
path: root/libavcodec/vp6.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-08-24 12:30:15 +0200
committerDiego Biurrun <diego@biurrun.de>2016-08-26 11:50:22 +0200
commit721d57e608dc4fd6c86f27c5ae76ef559d646220 (patch)
treec1b7f4ac6bf50265acdd652499489f148a612b88 /libavcodec/vp6.c
parent3fd22538bc0e0de84b31335266b4b1577d3d609e (diff)
downloadffmpeg-721d57e608dc4fd6c86f27c5ae76ef559d646220.tar.gz
vp56: Separate VP5 and VP6 dsp initialization
VP5 has no arch-specific optimizations (nor will it get some in the future), so it makes no sense to try to share dsp init code with VP6.
Diffstat (limited to 'libavcodec/vp6.c')
-rw-r--r--libavcodec/vp6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c
index aa0d09effb..40948ad0c5 100644
--- a/libavcodec/vp6.c
+++ b/libavcodec/vp6.c
@@ -612,6 +612,7 @@ static av_cold int vp6_decode_init(AVCodecContext *avctx)
if ((ret = ff_vp56_init(avctx, avctx->codec->id == AV_CODEC_ID_VP6,
avctx->codec->id == AV_CODEC_ID_VP6A)) < 0)
return ret;
+ ff_vp6dsp_init(&s->vp56dsp);
s->vp56_coord_div = vp6_coord_div;
s->parse_vector_adjustment = vp6_parse_vector_adjustment;