OSDN Git Service

Require libswscale only if the scale filter is used.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 28 Jul 2010 08:56:52 +0000 (08:56 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 28 Jul 2010 08:56:52 +0000 (08:56 +0000)
Although with several limitations, lavfi can be compiled and used
without the scale filter.

Originally committed as revision 24570 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/Makefile

index 6f34ca9..feef16c 100644 (file)
@@ -1,7 +1,8 @@
 include $(SUBDIR)../config.mak
 
 NAME = avfilter
-FFLIBS = avcodec avcore avutil swscale
+FFLIBS = avcodec avcore avutil
+FFLIBS-$(CONFIG_SCALE_FILTER) += swscale
 
 HEADERS = avfilter.h