]> git.sesse.net Git - ffmpeg/commitdiff
x86: h264qpel: Only define mmxext QPEL functions if H264QPEL is enabled
authorDiego Biurrun <diego@biurrun.de>
Fri, 2 Nov 2012 17:25:08 +0000 (18:25 +0100)
committerDiego Biurrun <diego@biurrun.de>
Mon, 5 Nov 2012 19:48:43 +0000 (20:48 +0100)
This fixes compilation with --disable-everything and components enabled.

libavcodec/x86/h264_qpel.c

index f978520719bd408f24debe2f64f3def50941bd9f..cf944c139640f06a174c5e036591592953cbe8fb 100644 (file)
@@ -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