Changeset 178


Ignore:
Timestamp:
12/20/06 14:47:06 (18 years ago)
Author:
r2d
Message:
  • removed unused decoder
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/mpcdec/mpcdec.c

    r163 r178  
    6363main(int argc, char **argv)
    6464{
    65     mpc_reader reader; mpc_demux* demux; mpc_streaminfo si; mpc_decoder* decoder; mpc_status err;
     65    mpc_reader reader;
     66        mpc_demux* demux;
     67        mpc_streaminfo si;
     68        mpc_status err;
    6669    MPC_SAMPLE_FORMAT sample_buffer[MPC_DECODER_BUFFER_LENGTH];
    6770    clock_t begin, end, sum; int total_samples; t_wav_output_file wav_output;
     
    8184    if(!demux) return !MPC_STATUS_OK;
    8285    mpc_demux_get_info(demux,  &si);
    83     decoder = mpc_decoder_init(&si);
    8486
    8587    is_wav_output = argc > 2;
     
    123125           );
    124126
    125     mpc_decoder_exit(decoder);
    126127    mpc_demux_exit(demux);
    127128    mpc_reader_exit_stdio(&reader);
Note: See TracChangeset for help on using the changeset viewer.