From ac014798ff719c69a895aff0189a794ed9046554 Mon Sep 17 00:00:00 2001 From: Diego Pettenò Date: Sun, 27 Jun 2010 12:20:39 +0000 Subject: 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 --- libavcodec/mpegaudio_tablegen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavcodec/mpegaudio_tablegen.c') 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"); -- cgit v1.2.3