[FFmpeg-cvslog] x86: h264qpel: Only define mmxext QPEL functions if H264QPEL is enabled

Diego Biurrun git at videolan.org
Mon Nov 5 22:40:24 CET 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Nov  2 18:25:08 2012 +0100| [930e26a3ea9d223e04bac4cdde13697cec770031] | committer: Diego Biurrun

x86: h264qpel: Only define mmxext QPEL functions if H264QPEL is enabled

This fixes compilation with --disable-everything and components enabled.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=930e26a3ea9d223e04bac4cdde13697cec770031
---

 libavcodec/x86/h264_qpel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/h264_qpel.c b/libavcodec/x86/h264_qpel.c
index f978520..cf944c1 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



More information about the ffmpeg-cvslog mailing list