[Ffmpeg-devel] [PATCH] X264_INC and XVID_INC are ignored

Derek E. Lewis dlewis
Wed Mar 22 17:58:59 CET 2006


For those of us that install X264 or XviD into ``non-standard'' locations, the 
libavcodec/Makefile fails to make use of the XVID_INC and X264_INC that may be 
specified at configure-time.  A patch has been attached.

Thanks,

Derek E. Lewis
dlewis at solnetworks.net
http://riemann.solnetworks.net/~dlewis
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/Makefile,v
retrieving revision 1.247
diff -u -r1.247 Makefile
--- Makefile	21 Mar 2006 17:27:46 -0000	1.247
+++ Makefile	22 Mar 2006 04:14:32 -0000
@@ -304,10 +304,12 @@
 ifeq ($(CONFIG_XVID),yes)
 OBJS+= xvidff.o
 OBJS+= xvid_rc.o
+CFLAGS += $(XVID_INC)
 endif
 
 ifeq ($(CONFIG_X264),yes)
 OBJS+= x264.o
+CFLAGS += $(X264_INC)
 endif
 
 ifeq ($(CONFIG_MP3LAME),yes)



More information about the ffmpeg-devel mailing list