[FFmpeg-cvslog] Fix compilation with --disable-everything on x86_32.

Carl Eugen Hoyos git at videolan.org
Fri Jan 25 03:06:47 CET 2013


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Jan 25 03:04:46 2013 +0100| [a0d1440476ced02c17e26947e48ab68a38b36a0e] | committer: Carl Eugen Hoyos

Fix compilation with --disable-everything on x86_32.

Fixes ticket #2183.

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

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

diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index ba536b8..3c30f50 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -2049,7 +2049,7 @@ static void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx, int mm_flags)
         SET_HPEL_FUNCS(avg,        [1],  8, mmx);
     }
 
-#if ARCH_X86_32 || !HAVE_YASM
+#if CONFIG_VIDEODSP && (ARCH_X86_32 || !HAVE_YASM)
     c->gmc = gmc_mmx;
 #endif
 



More information about the ffmpeg-cvslog mailing list