None of the compiled binaries use any of libpostproc's symbols except
for trivial ones that print version information. Thus the dependency
yields no benefit and it is preferable to drop it.
---
LICENSE | 2 +-
Makefile | 6 ++++--
cmdutils.c | 2 --
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/LICENSE b/LICENSE
index 725995d..51d06b8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -13,7 +13,7 @@ configure to activate them. In this case, Libav's license
changes to GPL v2+.
Specifically, the GPL parts of Libav are
-- libpostproc
+- libpostproc (not linked to any binaries)
- optional x86 optimizations in the files
libavcodec/x86/idct_mmx.c
- the X11 grabber in libavdevice/x11grab.c
diff --git a/Makefile b/Makefile
index ec868ad..f8a94aa 100644
--- a/Makefile
+++ b/Makefile
@@ -72,11 +72,13 @@ FFLIBS-$(CONFIG_AVDEVICE) += avdevice
FFLIBS-$(CONFIG_AVFILTER) += avfilter
FFLIBS-$(CONFIG_AVFORMAT) += avformat
FFLIBS-$(CONFIG_AVCODEC) += avcodec
-FFLIBS-$(CONFIG_POSTPROC) += postproc
FFLIBS-$(CONFIG_SWSCALE) += swscale
FFLIBS := avutil
+SUBDIRS-$(CONFIG_POSTPROC) += postproc
+SUBDIRS := $(SUBDIRS-yes) $(FFLIBS)
+
DATA_FILES := $(wildcard $(SRC_PATH)/ffpresets/*.ffpreset)
SKIPHEADERS = cmdutils_common_opts.h
@@ -114,7 +116,7 @@ SUBDIR := $(1)/
include $(SRC_PATH)/$(1)/Makefile
endef
-$(foreach D,$(FFLIBS),$(eval $(call DOSUBDIR,lib$(D))))
+$(foreach D,$(SUBDIRS),$(eval $(call DOSUBDIR,lib$(D))))
ffplay.o: CFLAGS += $(SDL_CFLAGS)
ffplay$(EXESUF): FF_EXTRALIBS += $(SDL_LIBS)
diff --git a/cmdutils.c b/cmdutils.c
index 2124ca1..bbe11aa 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -33,7 +33,6 @@
#include "libavfilter/avfilter.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
-#include "libpostproc/postprocess.h"
#include "libavutil/avstring.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
@@ -526,7 +525,6 @@ static void print_all_libs_info(FILE* outstream, int flags)
PRINT_LIB_INFO(outstream, avdevice, AVDEVICE, flags);
PRINT_LIB_INFO(outstream, avfilter, AVFILTER, flags);
PRINT_LIB_INFO(outstream, swscale, SWSCALE, flags);
- PRINT_LIB_INFO(outstream, postproc, POSTPROC, flags);
}
void show_banner(void)
--
1.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel