# HG changeset patch # User reimar # Date 1256758711 0 # Node ID 36a16fb5c4978ccb9b14bf03c168101a010cfc72 # Parent 5e984fa3613fb052fba861ecb0525435a39cd966 Fix out-of-tree builds with --enable-hardcoded-tables diff -r 5e984fa3613f -r 36a16fb5c497 costablegen.c --- a/costablegen.c Wed Oct 28 19:15:42 2009 +0000 +++ b/costablegen.c Wed Oct 28 19:38:31 2009 +0000 @@ -37,7 +37,7 @@ 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 -r 5e984fa3613f -r 36a16fb5c497 mpegaudio_tablegen.h --- a/mpegaudio_tablegen.h Wed Oct 28 19:15:42 2009 +0000 +++ b/mpegaudio_tablegen.h Wed Oct 28 19:38:31 2009 +0000 @@ -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];