Changeset 185


Ignore:
Timestamp:
12/23/06 13:38:05 (17 years ago)
Author:
r2d
Message:

dev tools only for gcc :)

Location:
libmpc/branches/r2d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/common/huffman.c

    r161 r185  
    103103static void _Huffman_MakeCodes(huff_sym_t * sym, unsigned int num_symbols)
    104104{
    105         unsigned int code = 0;
    106         int i, bits;
     105        unsigned int code = 0, i;
     106        int bits;
    107107
    108108        qsort(sym, num_symbols, sizeof(huff_sym_t),
     
    185185}
    186186
     187#ifdef __GNUC__
     188
    187189/**
    188190 * Print the huffman tables
     
    198200void _Huffman_PrintCodes(huff_sym_t * sym, unsigned int num_symbols, int print_type, int offset)
    199201{
    200         unsigned int total_cnt = 0, total_size = 0, optim_size = 0;
    201         int i, packs[4];
     202        unsigned int total_cnt = 0, total_size = 0, optim_size = 0, i;
     203        int packs[4];
    202204
    203205        switch( print_type ) {
     
    274276}
    275277
    276 
    277 
     278#endif
     279
     280
  • libmpc/branches/r2d/include/mpcdec/mpcdec.h

    r161 r185  
    5757
    5858typedef struct mpc_frame_info_t {
    59         mpc_uint32_t samples;   /// number of samples in the frame
     59        mpc_uint32_t samples;   /// number of samples in the frame (counting once for multiple channels)
    6060        mpc_int32_t bits;       /// number of bits consumed by this frame (-1) if end of stream
    61         MPC_SAMPLE_FORMAT * buffer;     /// frame samples buffer (size = samples * channels * sizeof(MPC_SAMPLE_FORMAT)
     61        MPC_SAMPLE_FORMAT * buffer;     /// frame samples buffer (size = samples * channels * sizeof(MPC_SAMPLE_FORMAT))
    6262        mpc_bool_t is_key_frame; /// 1 if this frame is a key frame (first in block) 0 else. Set by the demuxer.
    6363} mpc_frame_info;
Note: See TracChangeset for help on using the changeset viewer.