Fix --enable-hardcoded-tables compilation: the generate table files now
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 7 Mar 2010 09:25:57 +0000 (09:25 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 7 Mar 2010 09:25:57 +0000 (09:25 +0000)
need to include fft.h, not dsputil.h.

Originally committed as revision 22278 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/costablegen.c

index f82fb04..bfcd635 100644 (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 \"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;