[FFmpeg-devel] [PATCH 1/2] lavfi/Makefile: Fix lavc dependency

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


avfiltergraph.c needs lavc, so it's mandatory now.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavfilter/Makefile | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index 7bd4323..75a2295 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -1,27 +1,20 @@
 include $(SUBDIR)../config.mak
 
 NAME = avfilter
-FFLIBS = avutil
+FFLIBS = avutil avcodec
 FFLIBS-$(CONFIG_ACONVERT_FILTER)             += swresample
-FFLIBS-$(CONFIG_AMOVIE_FILTER)               += avformat avcodec
+FFLIBS-$(CONFIG_AMOVIE_FILTER)               += avformat
 FFLIBS-$(CONFIG_ARESAMPLE_FILTER)            += swresample
 FFLIBS-$(CONFIG_ASYNCTS_FILTER)              += avresample
-FFLIBS-$(CONFIG_ATEMPO_FILTER)               += avcodec
-FFLIBS-$(CONFIG_DECIMATE_FILTER)             += avcodec
-FFLIBS-$(CONFIG_DESHAKE_FILTER)              += avcodec
-FFLIBS-$(CONFIG_ELBG_FILTER)                 += avcodec
-FFLIBS-$(CONFIG_MCDEINT_FILTER)              += avcodec
-FFLIBS-$(CONFIG_MOVIE_FILTER)                += avformat avcodec
-FFLIBS-$(CONFIG_MP_FILTER)                   += avcodec
+FFLIBS-$(CONFIG_MOVIE_FILTER)                += avformat
 FFLIBS-$(CONFIG_PAN_FILTER)                  += swresample
 FFLIBS-$(CONFIG_PP_FILTER)                   += postproc
-FFLIBS-$(CONFIG_REMOVELOGO_FILTER)           += avformat avcodec swscale
+FFLIBS-$(CONFIG_REMOVELOGO_FILTER)           += avformat swscale
 FFLIBS-$(CONFIG_RESAMPLE_FILTER)             += avresample
 FFLIBS-$(CONFIG_SAB_FILTER)                  += swscale
 FFLIBS-$(CONFIG_SCALE_FILTER)                += swscale
-FFLIBS-$(CONFIG_SHOWSPECTRUM_FILTER)         += avcodec
 FFLIBS-$(CONFIG_SMARTBLUR_FILTER)            += swscale
-FFLIBS-$(CONFIG_SUBTITLES_FILTER)            += avformat avcodec
+FFLIBS-$(CONFIG_SUBTITLES_FILTER)            += avformat
 
 HEADERS = asrc_abuffer.h                                                \
           avcodec.h                                                     \
@@ -33,6 +26,7 @@ HEADERS = asrc_abuffer.h                                                \
 
 OBJS = allfilters.o                                                     \
        audio.o                                                          \
+       avcodec.o                                                        \
        avfilter.o                                                       \
        avfiltergraph.o                                                  \
        buffer.o                                                         \
@@ -48,7 +42,6 @@ OBJS = allfilters.o                                                     \
        video.o                                                          \
 
 
-OBJS-$(CONFIG_AVCODEC)                       += avcodec.o
 OBJS-$(CONFIG_AVFORMAT)                      += lavfutils.o
 OBJS-$(CONFIG_SWSCALE)                       += lswsutils.o
 
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list