X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wmadata.h;h=185ec1fcecb738de2a322d4e81aa67f384026b1b;hp=5944e086ce24f224eeda47aff0f4fcade7f464d1;hb=b52342d0b5df5446f149f0c1daf26f6e25b2aba7;hpb=63c513602a6b6a97cdced053beea0b2d07a9f984 diff --git a/wmadata.h b/wmadata.h index 5944e086..185ec1fc 100644 --- a/wmadata.h +++ b/wmadata.h @@ -19,20 +19,17 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/** - * \file wmadata.h Various WMA tables. - */ +/** \file wmadata.h Various WMA tables. */ +/** Contains huffcodes, huffbits and run/level tables. */ struct coef_vlc_table { /** Total number of codes. */ int n; - /** Number of levels. */ - int max_level; /** VLC bit values. */ const uint32_t *huffcodes; /** VLC bit size. */ const uint8_t *huffbits; - /* Table to build run/level tables. */ + /** Table to build run/level tables. */ const uint16_t *levels; }; @@ -1446,7 +1443,6 @@ static const uint16_t levels5[40] = { #define DEF_COEF_TABLE(_x) { \ .n = sizeof(coef ## _x ## _huffbits), \ - .max_level = sizeof(levels ## _x) / 2, \ .huffcodes = coef ## _x ## _huffcodes, \ .huffbits = coef ## _x ##_huffbits, \ .levels = levels ## _x}