Commit 0209cd07 authored by Reimar Döffinger's avatar Reimar Döffinger

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
parent f3cb1cd0
...@@ -37,7 +37,7 @@ int main(int argc, char *argv[]) ...@@ -37,7 +37,7 @@ int main(int argc, char *argv[])
double (*func)(double) = do_sin ? sin : cos; double (*func)(double) = do_sin ? sin : cos;
printf("/* This file was generated by libavcodec/costablegen */\n"); 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++) { for (i = 4; i <= BITS; i++) {
int m = 1 << i; int m = 1 << i;
double freq = 2*M_PI/m; double freq = 2*M_PI/m;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment