From 6772044da2f3574f09b8f39832710daab249e83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sun, 2 Mar 2008 18:52:09 +0100 Subject: Backport the MANGLE macro handling from 1.2-libavutil branch (and adapt). --- src/post/deinterlace/plugins/Makefile.am | 2 +- src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/post') diff --git a/src/post/deinterlace/plugins/Makefile.am b/src/post/deinterlace/plugins/Makefile.am index 1ff139d29..5f0997eb8 100644 --- a/src/post/deinterlace/plugins/Makefile.am +++ b/src/post/deinterlace/plugins/Makefile.am @@ -30,7 +30,7 @@ EXTRA_DIST = greedy2frame_template.c greedyh.asm \ # libpostproc is here so we can use their nice mangle.h AM_CFLAGS = -I$(top_srcdir)/src/post/deinterlace \ - -I$(top_srcdir)/src/libffmpeg/libavcodec/libpostproc + -I$(top_srcdir)/src/xine-utils # Avoid "can't find register" failures with -O0, -O2, -O3 (gcc 4.0) libdeinterlaceplugins_la-kdetv_greedyh.o libdeinterlaceplugins_la-kdetv_greedyh.lo: CFLAGS=$(shell echo @CFLAGS@ | sed -e 's/$$/ -O1/') diff --git a/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h b/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h index a3b92a51c..a0136fd44 100644 --- a/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h +++ b/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h @@ -2,6 +2,8 @@ #include #include +#include "mangle.h" + #define USE_FOR_DSCALER #define MyMemCopy xine_fast_memcpy -- cgit v1.2.3