changeset 405:053b3a7a1760 libavcodec

* avoid conflicts with non-ffmpeg config.h and also it's consistent with few other header files included from the main ffmpeg's dir
author kabi
date Tue, 21 May 2002 18:56:03 +0000
parents 29dc52c127c6
children 62b311619b44
files Makefile common.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon May 20 21:15:53 2002 +0000
+++ b/Makefile	Tue May 21 18:56:03 2002 +0000
@@ -6,7 +6,7 @@
 
 VPATH=$(SRC_PATH)/libavcodec
 
-CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)
+CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H -I$(SRC_PATH)
 LDFLAGS= -g
 
 OBJS= common.o utils.o mpegvideo.o h263.o jrevdct.o jfdctfst.o \
--- a/common.h	Mon May 20 21:15:53 2002 +0000
+++ b/common.h	Tue May 21 18:56:03 2002 +0000
@@ -17,7 +17,7 @@
 
 #ifdef HAVE_AV_CONFIG_H
 /* only include the following when compiling package */
-#include "config.h"
+#include "../config.h"
 
 #include <stdlib.h>
 #include <stdio.h>