[Ffmpeg-devel] [PATCH] Build failes on i386 if snow is disabled
Martin Storsjö
martin
Thu Feb 22 00:21:03 CET 2007
Hi,
When building shared libraries of ffmpeg on OS X on i386 with the snow
encoder and decoder disabled, the build fails due to an undefined
reference to ff_snow_inner_add_yblock in i386/snowdsp_mmx.o. The attached
patch fixes this, by only including that object file when building the
snow encoder.
Kind regards,
// Martin Storsj?
-------------- next part --------------
Index: libavcodec/Makefile
===================================================================
--- libavcodec/Makefile (revision 8055)
+++ libavcodec/Makefile (working copy)
@@ -327,8 +327,10 @@
i386/vp3dsp_sse2.o \
i386/fft_3dn.o \
i386/fft_3dn2.o \
- i386/snowdsp_mmx.o \
+ifeq ($(CONFIG_SNOW_ENCODER),yes)
+OBJS += i386/snowdsp_mmx.o
+endif
ifeq ($(CONFIG_GPL),yes)
OBJS += i386/idct_mmx.o
endif
More information about the ffmpeg-devel
mailing list