changeset 8162:368413cfe34b libavcodec

Add a Makefile variable for the old scaler that gets enabled when the new scaler is disabled to get rid of a Makefile ifdef.
author diego
date Mon, 17 Nov 2008 22:51:59 +0000
parents bc4ddc399192
children e1a094cabfc3
files Makefile
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Nov 17 21:56:34 2008 +0000
+++ b/Makefile	Mon Nov 17 22:51:59 2008 +0000
@@ -27,6 +27,7 @@
 OBJS-$(CONFIG_FFT)                     += fft.o
 OBJS-$(CONFIG_GOLOMB)                  += golomb.o
 OBJS-$(CONFIG_MDCT)                    += mdct.o
+OBJS-$(CONFIG_OLDSCALER)               += imgresample.o
 
 OBJS-$(CONFIG_AAC_DECODER)             += aac.o aactab.o
 OBJS-$(CONFIG_AASC_DECODER)            += aasc.o msrledec.o
@@ -383,10 +384,6 @@
 
 OBJS-$(HAVE_XVMC)                      += xvmcvideo.o
 
-ifndef CONFIG_SWSCALE
-OBJS += imgresample.o
-endif
-
 # processor-specific code
 ifdef HAVE_MMX
 OBJS += i386/fdct_mmx.o                                                 \