]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add a Makefile variable for the old scaler that gets enabled when the new
authordiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 17 Nov 2008 22:51:59 +0000 (22:51 +0000)
committerdiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 17 Nov 2008 22:51:59 +0000 (22:51 +0000)
scaler is disabled to get rid of a Makefile ifdef.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15867 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

configure
libavcodec/Makefile

index b6ca3796037c4c8fbf85f179c3fa00aeaff2a3b7..5cf1ef6515fb46a661f5e738f1e3930de496d10f 100755 (executable)
--- a/configure
+++ b/configure
@@ -872,6 +872,7 @@ HAVE_LIST="
 # options emitted with CONFIG_ prefix but not available on command line
 CONFIG_EXTRA="
     fft_mmx
+    oldscaler
 "
 
 CMDLINE_SELECT="
@@ -928,6 +929,7 @@ vis_deps="sparc"
 # common features
 fft_suggest="fft_mmx"
 fft_mmx_deps="mmx yasm"
+oldscaler_deps="!swscale"
 
 # decoders / encoders
 aac_decoder_select="fft mdct"
@@ -1084,6 +1086,7 @@ enable ffserver
 enable ipv6
 enable mpegaudio_hp
 enable network
+enable oldscaler
 enable optimizations
 enable protocols
 enable static
index 375d24d1cb5d25c56cbada974bfe9edd9c69b84d..fe33a5f0abfb9cac2c4bafa78967ebbbc7aba1e3 100644 (file)
@@ -27,6 +27,7 @@ OBJS-$(CONFIG_ENCODERS)                += faandct.o jfdctfst.o jfdctint.o
 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_W32THREADS)                += w32thread.o
 
 OBJS-$(HAVE_XVMC)                      += xvmcvideo.o
 
-ifndef CONFIG_SWSCALE
-OBJS += imgresample.o
-endif
-
 # processor-specific code
 ifdef HAVE_MMX
 OBJS += i386/fdct_mmx.o                                                 \