[FFmpeg-devel] [PATCH 2/2] lavfi/Makefile: Don't compile lavfutils.c and lswsutils.c if they are not needed

Michael Niedermayer michaelni at gmx.at
Sat Nov 30 13:30:34 CET 2013


On Sat, Nov 30, 2013 at 01:56:51AM +0100, Stefano Sabatini wrote:
> On date Friday 2013-11-29 01:45:05 -0300, James Almer encoded:
> > They are only needed by removelogo.
> > This fixes a link failure in shared builds when compiling with
> > removelogo disabled but Lavf/SwS enabled
> > 
> > Signed-off-by: James Almer <jamrial at gmail.com>
> > ---
> >  libavfilter/Makefile | 3 ---
> >  1 file changed, 3 deletions(-)
> > 
> > diff --git a/libavfilter/Makefile b/libavfilter/Makefile
> > index 75a2295..4866751 100644
> > --- a/libavfilter/Makefile
> > +++ b/libavfilter/Makefile
> > @@ -42,9 +42,6 @@ OBJS = allfilters.o                                                     \
> >         video.o                                                          \
> >  
> >  
> > -OBJS-$(CONFIG_AVFORMAT)                      += lavfutils.o
> > -OBJS-$(CONFIG_SWSCALE)                       += lswsutils.o
> > -
> >  OBJS-$(CONFIG_ACONVERT_FILTER)               += af_aconvert.o
> >  OBJS-$(CONFIG_ADELAY_FILTER)                 += af_adelay.o
> >  OBJS-$(CONFIG_AECHO_FILTER)                  += af_aecho.o
> 
> LGTM, thanks.

applied, thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131130/85001f54/attachment.asc>


More information about the ffmpeg-devel mailing list