aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-28 19:38:31 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-28 19:38:31 +0000
commit52a4a077788a02a97cdfb8ce2f3a3107615c4d7b (patch)
tree0e59178cc420b0bedbd2244c31a174d9504ac5c3 /libavcodec
parent2300b120dd41483eab89d93a38e00e48d33fd289 (diff)
downloadffmpeg-52a4a077788a02a97cdfb8ce2f3a3107615c4d7b.tar.gz
Fix out-of-tree builds with --enable-hardcoded-tables
Originally committed as revision 20404 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/costablegen.c2
-rw-r--r--libavcodec/mpegaudio_tablegen.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/costablegen.c b/libavcodec/costablegen.c
index 8a33fd4cf7..f82fb042fb 100644
--- a/libavcodec/costablegen.c
+++ b/libavcodec/costablegen.c
@@ -37,7 +37,7 @@ int main(int argc, char *argv[])
double (*func)(double) = do_sin ? sin : cos;
printf("/* This file was generated by libavcodec/costablegen */\n");
- printf("#include \"dsputil.h\"\n");
+ printf("#include \"libavcodec/dsputil.h\"\n");
for (i = 4; i <= BITS; i++) {
int m = 1 << i;
double freq = 2*M_PI/m;
diff --git a/libavcodec/mpegaudio_tablegen.h b/libavcodec/mpegaudio_tablegen.h
index cab56ebdd5..362c30b4be 100644
--- a/libavcodec/mpegaudio_tablegen.h
+++ b/libavcodec/mpegaudio_tablegen.h
@@ -31,7 +31,7 @@
#define TABLE_4_3_SIZE (8191 + 16)*4
#if CONFIG_HARDCODED_TABLES
#define mpegaudio_tableinit()
-#include "mpegaudio_tables.h"
+#include "libavcodec/mpegaudio_tables.h"
#else
static int8_t table_4_3_exp[TABLE_4_3_SIZE];
static uint32_t table_4_3_value[TABLE_4_3_SIZE];