summaryrefslogtreecommitdiff
path: root/postproc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-02-11 21:13:30 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-02-11 21:13:30 +0000
commit9858f77376c9648c2fb3c16d54e9f0d0c97fdd7a (patch)
treea4d6442cea73ad7de9891a02eba7aed0fd2850dc /postproc
parent6524b641c02550b24ba1ee87ab9a528af66d288d (diff)
avoid #include "../
Originally committed as revision 9403 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc')
-rw-r--r--postproc/Makefile4
-rw-r--r--postproc/postprocess.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/postproc/Makefile b/postproc/Makefile
index 36f87075bc..2ef7bbc8cf 100644
--- a/postproc/Makefile
+++ b/postproc/Makefile
@@ -22,7 +22,7 @@ CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC)
# .PHONY: all clean
.c.o:
- $(CC) -c $(CFLAGS) -o $@ $<
+ $(CC) -c $(CFLAGS) -I.. -o $@ $<
all: $(SWSLIB) $(PPLIB) $(SPPLIB)
@@ -45,7 +45,7 @@ cs_test: $(CS_TEST_OBJS)
ifeq ($(SHARED_PP),yes)
postprocess_pic.o: postprocess.c
- $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
+ $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -o $@ $<
$(SPPLIB): $(SPPOBJS)
$(CC) -shared -Wl,-soname,$(SPPLIB).0 \
diff --git a/postproc/postprocess.c b/postproc/postprocess.c
index b25c24baf2..e470fd0389 100644
--- a/postproc/postprocess.c
+++ b/postproc/postprocess.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2001-2002 Michael Niedermayer (michaelni@gmx.at)
+ Copyright (C) 2001-2003 Michael Niedermayer (michaelni@gmx.at)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -62,7 +62,7 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
//Changelog: use the CVS log
-#include "../config.h"
+#include "config.h"
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
@@ -80,7 +80,7 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#endif
#include "postprocess.h"
#include "postprocess_internal.h"
-#include "../mangle.h"
+#include "mangle.h"
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#define MAX(a,b) ((a) < (b) ? (b) : (a))