summaryrefslogtreecommitdiff
path: root/libavcodec/pcm_tablegen.c
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2010-06-27 12:20:39 +0000
committerDiego Pettenò <flameeyes@gmail.com>2010-06-27 12:20:39 +0000
commitac014798ff719c69a895aff0189a794ed9046554 (patch)
treef53db1d845bbecfa50224c0c5ed2e1c53403b21f /libavcodec/pcm_tablegen.c
parent07ece20c696edad327b2e3fefd14f52279f60035 (diff)
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/pcm_tablegen.c')
-rw-r--r--libavcodec/pcm_tablegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/pcm_tablegen.c b/libavcodec/pcm_tablegen.c
index 57ecb43dc6..13b33ddefc 100644
--- a/libavcodec/pcm_tablegen.c
+++ b/libavcodec/pcm_tablegen.c
@@ -33,11 +33,11 @@ int main(void)
write_fileheader();
printf("static const uint8_t linear_to_alaw[1 << 14] = {\n");
- write_uint8_array(linear_to_alaw, 1 << 14);
+ write_uint8_t_array(linear_to_alaw, 1 << 14);
printf("};\n");
printf("static const uint8_t linear_to_ulaw[1 << 14] = {\n");
- write_uint8_array(linear_to_ulaw, 1 << 14);
+ write_uint8_t_array(linear_to_ulaw, 1 << 14);
printf("};\n");
return 0;