[FFmpeg-devel] [PATCH]Fix Makefile for --enable-vdpau --disable-decoder=h264, svq3 etc.

Carl Eugen Hoyos cehoyos
Sat Jan 10 02:18:01 CET 2009


Hi!

It is possible to configure FFmpeg (not MPlayer!) with VDPAU_H264_DECODER, 
but without H264_DECODER.
Attached patch fixes compilation for that case.

Carl Eugen
-------------- next part --------------
Index: libavcodec/Makefile
===================================================================
--- libavcodec/Makefile	(revision 16489)
+++ libavcodec/Makefile	(working copy)
@@ -100,7 +100,7 @@
 OBJS-$(CONFIG_H263P_ENCODER)           += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o mpeg12data.o mpegvideo.o error_resilience.o
 OBJS-$(CONFIG_H264_DECODER)            += h264.o h264idct.o h264pred.o h264_parser.o cabac.o mpegvideo.o error_resilience.o
 OBJS-$(CONFIG_H264_ENCODER)            += h264enc.o h264dspenc.o
-OBJS-$(CONFIG_H264_VDPAU_DECODER)      += vdpauvideo.o
+OBJS-$(CONFIG_H264_VDPAU_DECODER)      += vdpauvideo.o h264.o h264idct.o h264pred.o h264_parser.o cabac.o mpegvideo.o error_resilience.o
 OBJS-$(CONFIG_HUFFYUV_DECODER)         += huffyuv.o
 OBJS-$(CONFIG_HUFFYUV_ENCODER)         += huffyuv.o
 OBJS-$(CONFIG_IDCIN_DECODER)           += idcinvideo.o



More information about the ffmpeg-devel mailing list