Mercurial > libavcodec.hg
diff pcm_tablegen.c @ 11979:59f399926c12 libavcodec
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.
author | flameeyes |
---|---|
date | Sun, 27 Jun 2010 12:20:39 +0000 |
parents | 7d324b40c3d6 |
children | 263b4ef7ad87 |
line wrap: on
line diff
--- a/pcm_tablegen.c Sun Jun 27 09:44:10 2010 +0000 +++ b/pcm_tablegen.c Sun Jun 27 12:20:39 2010 +0000 @@ -33,11 +33,11 @@ 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;