[FFmpeg-devel] [PATCH 2/2] Require libswscale only if the scale filter is used.

Stefano Sabatini stefano.sabatini-lala
Tue Jul 27 18:44:32 CEST 2010


Although with several limitations, lavfi can be compiled and used
without the scale filter.
---
 libavfilter/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index 6f34ca9..feef16c 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -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
 
-- 
1.7.0.4




More information about the ffmpeg-devel mailing list