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

Måns Rullgård mans
Tue Jul 27 19:37:44 CEST 2010


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> 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

OK if it's useful.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list