diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2010-06-27 12:20:39 +0000 |
---|---|---|
committer | Diego Pettenò <flameeyes@gmail.com> | 2010-06-27 12:20:39 +0000 |
commit | ac014798ff719c69a895aff0189a794ed9046554 (patch) | |
tree | f53db1d845bbecfa50224c0c5ed2e1c53403b21f /libavcodec/mpegaudio_tablegen.c | |
parent | 07ece20c696edad327b2e3fefd14f52279f60035 (diff) | |
download | ffmpeg-ac014798ff719c69a895aff0189a794ed9046554.tar.gz |
tableprint: use the type name as-is for the functions' names.
This drops one parameter from the functions' macros, and require structures
to be typedeffed, but ensures that it is possible to map 1-to-1 the type to
the function name.
Originally committed as revision 23820 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudio_tablegen.c')
-rw-r--r-- | libavcodec/mpegaudio_tablegen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/mpegaudio_tablegen.c b/libavcodec/mpegaudio_tablegen.c index bb1c7ea5eb..57e239c166 100644 --- a/libavcodec/mpegaudio_tablegen.c +++ b/libavcodec/mpegaudio_tablegen.c @@ -32,15 +32,15 @@ int main(void) write_fileheader(); printf("static const int8_t table_4_3_exp[TABLE_4_3_SIZE] = {\n"); - write_int8_array(table_4_3_exp, TABLE_4_3_SIZE); + write_int8_t_array(table_4_3_exp, TABLE_4_3_SIZE); printf("};\n"); printf("static const uint32_t table_4_3_value[TABLE_4_3_SIZE] = {\n"); - write_uint32_array(table_4_3_value, TABLE_4_3_SIZE); + write_uint32_t_array(table_4_3_value, TABLE_4_3_SIZE); printf("};\n"); printf("static const uint32_t exp_table[512] = {\n"); - write_uint32_array(exp_table, 512); + write_uint32_t_array(exp_table, 512); printf("};\n"); printf("static const float exp_table_float[512] = {\n"); @@ -48,7 +48,7 @@ int main(void) printf("};\n"); printf("static const uint32_t expval_table[512][16] = {\n"); - write_uint32_2d_array(expval_table, 512, 16); + write_uint32_t_2d_array(expval_table, 512, 16); printf("};\n"); printf("static const float expval_table_float[512][16] = {\n"); |