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

James Almer jamrial at gmail.com
Fri Nov 29 05:45:05 CET 2013


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
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list