Browse Source

Fix out-of-tree builds with --enable-hardcoded-tables

Originally committed as revision 20404 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reimar Döffinger 15 years ago
parent
commit
52a4a07778
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavcodec/costablegen.c
  2. +1
    -1
      libavcodec/mpegaudio_tablegen.h

+ 1
- 1
libavcodec/costablegen.c View File

@@ -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;


+ 1
- 1
libavcodec/mpegaudio_tablegen.h View File

@@ -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];


Loading…
Cancel
Save