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

Stefano Sabatini stefasab at gmail.com
Sat Nov 30 01:56:51 CET 2013


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.
-- 
FFmpeg = Fundamental and Friendly Miracolous Powered Extended Gorilla


More information about the ffmpeg-devel mailing list