[FFmpeg-devel] [PATCH]Fix compilation with --disable-everything on x86-32

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 24 21:43:59 CET 2013


Hi!

Attached patch fixes ticket #2183 for me.

Please review, Carl Eugen
-------------- next part --------------
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-devel mailing list