Mercurial > libavcodec.hg
diff mpegaudio_tablegen.c @ 11715:a0f514fb84d6 libavcodec
Fix mpegaudio tablegen.
Patch by Michael Kostylev, michael D kostylev A gmail
author | michael |
---|---|
date | Thu, 13 May 2010 10:02:48 +0000 |
parents | e03e3df6fb7d |
children | 59f399926c12 |
line wrap: on
line diff
--- a/mpegaudio_tablegen.c Thu May 13 10:02:04 2010 +0000 +++ b/mpegaudio_tablegen.c Thu May 13 10:02:48 2010 +0000 @@ -43,9 +43,17 @@ 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; }