aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-11-02 18:25:08 +0100
committerDiego Biurrun <diego@biurrun.de>2012-11-05 20:48:43 +0100
commit930e26a3ea9d223e04bac4cdde13697cec770031 (patch)
tree33f95762822e8cc2df9f37e74eb62ab908778e81 /libavcodec/x86
parentdbb37e77117466edfc146f9f0df4c70bef6239d6 (diff)
downloadffmpeg-930e26a3ea9d223e04bac4cdde13697cec770031.tar.gz
x86: h264qpel: Only define mmxext QPEL functions if H264QPEL is enabled
This fixes compilation with --disable-everything and components enabled.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/h264_qpel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/h264_qpel.c b/libavcodec/x86/h264_qpel.c
index f978520719..cf944c1396 100644
--- a/libavcodec/x86/h264_qpel.c
+++ b/libavcodec/x86/h264_qpel.c
@@ -1286,6 +1286,6 @@ QPEL16_OP(mc31, MMX)\
QPEL16_OP(mc32, MMX)\
QPEL16_OP(mc33, MMX)
-#if ARCH_X86_32 && HAVE_YASM // ARCH_X86_64 implies sse2+
+#if ARCH_X86_32 && HAVE_YASM && CONFIG_H264QPEL // ARCH_X86_64 implies SSE2+
QPEL16(mmxext)
#endif