Fix --enable-hardcoded-tables compilation: the generate table files now

need to include fft.h, not dsputil.h.

Originally committed as revision 22278 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Reimar Döffinger 15 years ago
parent f3cb1cd078
commit 0209cd0719
  1. 2
      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 \"libavcodec/dsputil.h\"\n");
printf("#include \"libavcodec/fft.h\"\n");
for (i = 4; i <= BITS; i++) {
int m = 1 << i;
double freq = 2*M_PI/m;

Loading…
Cancel
Save