Place qdm2 and truemotion2 in ifdef block so that they can be disabled
authorRoberto Togni <r_togni@tiscali.it>
Sat, 5 Nov 2005 00:00:24 +0000 (00:00 +0000)
committerRoberto Togni <r_togni@tiscali.it>
Sat, 5 Nov 2005 00:00:24 +0000 (00:00 +0000)
Originally committed as revision 4676 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index 911e715..988d15a 100644 (file)
@@ -18,7 +18,7 @@ OBJS= bitstream.o utils.o mem.o allcodecs.o \
       fft.o mdct.o raw.o golomb.o cabac.o\
       dpcm.o adx.o faandct.o parser.o g726.o \
       vp3dsp.o h264idct.o rangecoder.o pnm.o h263.o msmpeg4.o h263dec.o dvdsub.o dvbsub.o dvbsubdec.o\
-      opt.o qdm2.o truemotion2.o
+      opt.o
 
 ifeq ($(CONFIG_AASC_DECODER),yes)
     OBJS+= aasc.o
@@ -98,6 +98,9 @@ endif
 ifneq ($(CONFIG_PNG_DECODER)$(CONFIG_PNG_ENCODER),)
     OBJS+= png.o
 endif
+ifeq ($(CONFIG_QDM2_DECODER),yes)
+    OBJS+= qdm2.o
+endif
 ifeq ($(CONFIG_QDRAW_DECODER),yes)
     OBJS+= qdrw.o
 endif
@@ -140,6 +143,9 @@ endif
 ifeq ($(CONFIG_TRUEMOTION1_DECODER),yes)
     OBJS+= truemotion1.o
 endif
+ifeq ($(CONFIG_TRUEMOTION2_DECODER),yes)
+    OBJS+= truemotion2.o
+endif
 ifeq ($(CONFIG_TSCC_DECODER),yes)
     OBJS+= tscc.o
 endif