diff options
author | Michael Kostylev <michael.kostylev@gmail.com> | 2010-05-13 10:02:48 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-05-13 10:02:48 +0000 |
commit | 3e48d792b6907c9c9f2dd3b72735345e7aab221b (patch) | |
tree | 1a19bc8851af900f7ab1b06dde22b929ba1db8c6 /libavcodec | |
parent | 56b37cd1c7f3b5e5a3ece043c7ffccf70874cfb1 (diff) | |
download | ffmpeg-3e48d792b6907c9c9f2dd3b72735345e7aab221b.tar.gz |
Fix mpegaudio tablegen.
Patch by Michael Kostylev, michael D kostylev A gmail
Originally committed as revision 23106 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegaudio_tablegen.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/mpegaudio_tablegen.c b/libavcodec/mpegaudio_tablegen.c index 70d145b205..bb1c7ea5eb 100644 --- a/libavcodec/mpegaudio_tablegen.c +++ b/libavcodec/mpegaudio_tablegen.c @@ -43,9 +43,17 @@ int main(void) write_uint32_array(exp_table, 512); printf("};\n"); + printf("static const float exp_table_float[512] = {\n"); + write_float_array(exp_table_float, 512); + printf("};\n"); + printf("static const uint32_t expval_table[512][16] = {\n"); write_uint32_2d_array(expval_table, 512, 16); printf("};\n"); + printf("static const float expval_table_float[512][16] = {\n"); + write_float_2d_array(expval_table_float, 512, 16); + printf("};\n"); + return 0; } |