Changeset 178 for libmpc/branches/r2d/mpcdec/mpcdec.c
- Timestamp:
- 12/20/06 14:47:06 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/mpcdec/mpcdec.c
r163 r178 63 63 main(int argc, char **argv) 64 64 { 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; 66 69 MPC_SAMPLE_FORMAT sample_buffer[MPC_DECODER_BUFFER_LENGTH]; 67 70 clock_t begin, end, sum; int total_samples; t_wav_output_file wav_output; … … 81 84 if(!demux) return !MPC_STATUS_OK; 82 85 mpc_demux_get_info(demux, &si); 83 decoder = mpc_decoder_init(&si);84 86 85 87 is_wav_output = argc > 2; … … 123 125 ); 124 126 125 mpc_decoder_exit(decoder);126 127 mpc_demux_exit(demux); 127 128 mpc_reader_exit_stdio(&reader);
Note: See TracChangeset
for help on using the changeset viewer.