aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cavsdsp.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-10-07 17:23:54 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-10-08 11:54:05 +0200
commitcb36febcbc59d18470361fc27ae834b84be975e3 (patch)
tree3bbad8c3da8ccbd4f007a5becb8081dad1108987 /libavcodec/cavsdsp.c
parentf101eab1be1a296a1a048cd905edfcacc3b546ed (diff)
downloadffmpeg-cb36febcbc59d18470361fc27ae834b84be975e3.tar.gz
x86: cavs: call ff_cavsdsp_init_x86() under if (ARCH_X86)
Diffstat (limited to 'libavcodec/cavsdsp.c')
-rw-r--r--libavcodec/cavsdsp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/cavsdsp.c b/libavcodec/cavsdsp.c
index bdb8d6d064..15020a8ce8 100644
--- a/libavcodec/cavsdsp.c
+++ b/libavcodec/cavsdsp.c
@@ -546,5 +546,6 @@ av_cold void ff_cavsdsp_init(CAVSDSPContext* c, AVCodecContext *avctx) {
c->cavs_idct8_add = cavs_idct8_add_c;
c->idct_perm = FF_NO_IDCT_PERM;
- if (HAVE_MMX) ff_cavsdsp_init_mmx(c, avctx);
+ if (ARCH_X86)
+ ff_cavsdsp_init_x86(c, avctx);
}