Changeset 382


Ignore:
Timestamp:
03/06/08 16:39:07 (17 years ago)
Author:
r2d
Message:

made some const changes

Location:
libmpc/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/libmpcdec/huffman.h

    r296 r382  
    6565/// Type used for huffman LUT decoding
    6666typedef struct mpc_lut_data_t {
    67         const mpc_huffman * table;
     67        mpc_huffman const * const table;
    6868        mpc_huff_lut lut[1 << LUT_DEPTH];
    6969} mpc_lut_data;
     
    7171/// Type used for canonical huffman decoding
    7272typedef struct mpc_can_data_t {
    73         const mpc_huffman * table;
    74         const mpc_int8_t * sym;
     73        mpc_huffman const * const table;
     74        mpc_int8_t const * const sym;
    7575        mpc_huff_lut lut[1 << LUT_DEPTH];
    7676} mpc_can_data;
  • libmpc/trunk/libmpcdec/streaminfo.c

    r350 r382  
    4646
    4747static const char na[] = "n.a.";
    48 static const char *versionNames[] = {
     48static char const * const versionNames[] = {
    4949    na, "'Unstable/Experimental'", na, na, na, "'quality 0'", "'quality 1'",
    5050    "'Telephone'", "'Thumb'", "'Radio'", "'Standard'", "'Extreme'", "'Insane'",
  • libmpc/trunk/libmpcenc/encode_sv7.c

    r359 r382  
    2828
    2929// huffsv7.c
    30 extern const Huffman_t HuffBands [33];
    31 extern const Huffman_t HuffRes [2][17];
    32 extern Huffman_t HuffSCFI_1 [4];         // contains tables for SV7-scalefactor select
    33 extern Huffman_t HuffSCFI_2 [16];         // contains tables for SV7-scalefactor select
    34 extern Huffman_t HuffDSCF_1 [64];         // contains tables for SV7-scalefactor coding
    35 extern Huffman_t HuffDSCF_2 [65];         // contains tables for SV7-scalefactor coding
    36 extern const Huffman_t * HuffQ [2][8];         // points to tables for SV7-sample coding
    37 extern const Huffman_t HuffQ9up [256];
     30extern Huffman_t const HuffBands [33];
     31extern Huffman_t const HuffRes [2][17];
     32extern Huffman_t const HuffSCFI_1 [4];         // contains tables for SV7-scalefactor select
     33extern Huffman_t const HuffSCFI_2 [16];         // contains tables for SV7-scalefactor select
     34extern Huffman_t const HuffDSCF_1 [64];         // contains tables for SV7-scalefactor coding
     35extern Huffman_t const HuffDSCF_2 [65];         // contains tables for SV7-scalefactor coding
     36extern Huffman_t const * const HuffQ [2][8];         // points to tables for SV7-sample coding
     37extern Huffman_t const HuffQ9up [256];
    3838
    3939/*
  • libmpc/trunk/libmpcenc/huffsv7.c

    r161 r382  
    104104};
    105105
    106 const Huffman_t* HuffQ [2] [8] = {
     106Huffman_t const * const HuffQ [2] [8] = {
    107107        { HuffQ1, HuffQ2[0], HuffQ3, HuffQ4, HuffQ5[0], HuffQ6[0], HuffQ7[0], HuffQ8[0] },
    108108        { HuffQ1, HuffQ2[1], HuffQ3, HuffQ4, HuffQ5[1], HuffQ6[1], HuffQ7[1], HuffQ8[1] }
Note: See TracChangeset for help on using the changeset viewer.