[SCM] libav/experimental: Fix --enable-hardcoded-tables compilation: the generate table files now need to include fft.h, not dsputil.h.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:03:20 UTC 2013


The following commit has been merged in the experimental branch:
commit 0209cd07191f20abd9d525266d37bdd79167fa02
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Sun Mar 7 09:25:57 2010 +0000

    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

diff --git a/libavcodec/costablegen.c b/libavcodec/costablegen.c
index f82fb04..bfcd635 100644
--- a/libavcodec/costablegen.c
+++ b/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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list