From 05dff1022a467deec38f93b0987db9aeb2b43420 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Fri, 24 Sep 2010 23:02:39 +0200 Subject: Added support for libavcodec51 (see define in Makefile) Lowered memory consumption on some cases Enhanced buffer usage output --- command/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'command/Makefile') diff --git a/command/Makefile b/command/Makefile index 2229eb3..6bbd123 100644 --- a/command/Makefile +++ b/command/Makefile @@ -2,6 +2,9 @@ # Makefile for a Video Disk Recorder addon # +# use this, if you use libavcodec51 +#WITH_OLD_FFMPEG_HEADERS=1 + ### The version number of this plugin (taken from the main source file): VERSION = $(shell grep 'static const char \*VERSION *=' ../version.h | awk '{ print $$6 }' | sed -e 's/[";]//g') @@ -22,6 +25,11 @@ DEFINES += -D_GNU_SOURCE DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE DEFINES += -D__STDC_CONSTANT_MACROS +ifdef WITH_OLD_FFMPEG_HEADERS + DEFINES += -DUSE_OLD_FFMPEG_HEADERS +endif + + INCLUDES += $(shell $(PKG-CONFIG) --cflags $(PKG-INCLUDES)) LIBS += $(shell $(PKG-CONFIG) --libs $(PKG-LIBS)) -pthread -- cgit v1.2.3