Require libswscale only if the scale filter is used.

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
This commit is contained in:
Stefano Sabatini 2010-07-28 08:56:52 +00:00
parent 46eed2c886
commit 15379c2beb

View 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