summaryrefslogtreecommitdiff
path: root/libavcodec/dct.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-10-05 19:54:10 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-10-08 11:54:05 +0200
commitf101eab1be1a296a1a048cd905edfcacc3b546ed (patch)
treeeb1de4a50acb63166fb01fc3fedd00946c322ce2 /libavcodec/dct.c
parentd19d01bf628124e6c93dd8c15d79cc5329f56943 (diff)
x86: call most of the x86 dsp init functions under if (ARCH_X86)
Rename the called dsp init functions to *_init_x86.
Diffstat (limited to 'libavcodec/dct.c')
-rw-r--r--libavcodec/dct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dct.c b/libavcodec/dct.c
index 73716d39c9..0128c7d3e5 100644
--- a/libavcodec/dct.c
+++ b/libavcodec/dct.c
@@ -209,8 +209,8 @@ av_cold int ff_dct_init(DCTContext *s, int nbits, enum DCTTransformType inverse)
}
s->dct32 = ff_dct32_float;
- if (HAVE_MMX)
- ff_dct_init_mmx(s);
+ if (ARCH_X86)
+ ff_dct_init_x86(s);
return 0;
}