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

Stefano Sabatini stefano.sabatini-lala
Wed Jul 28 10:58:10 CEST 2010


On date Tuesday 2010-07-27 18:37:44 +0100, M?ns Rullg?rd encoded:
> 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.

Applied.
-- 
FFmpeg = Fundamental & Fundamentalist Majestic Proud Ecstatic Game



More information about the ffmpeg-devel mailing list