Commit 3e48d792 authored by Michael Kostylev's avatar Michael Kostylev Committed by Michael Niedermayer

Fix mpegaudio tablegen.

Patch by Michael Kostylev, michael D kostylev A gmail

Originally committed as revision 23106 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 56b37cd1
......@@ -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;
}
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