Changeset 309 for libmpc/trunk/mpc2sv8/mpc2sv8.c
- Timestamp:
- 05/03/07 14:42:31 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/mpc2sv8/mpc2sv8.c
r307 r309 149 149 150 150 demux->d->samples_to_skip = MPC_FRAME_LENGTH + MPC_DECODER_SYNTH_DELAY; 151 mpc_demux_decode(demux, &frame);151 err = mpc_demux_decode(demux, &frame); 152 152 153 153 if(frame.bits == -1) break; … … 156 156 writeBitstream_SV8 ( &e, si.max_band); // write SV8-Bitstream 157 157 } 158 159 if (err != MPC_STATUS_OK) 160 fprintf(stderr, "An error occured while decoding, this file may be corrupted\n"); 161 158 162 // write the last incomplete block 159 163 if (e.framesInBlock != 0) { … … 193 197 mpc_encoder_exit(&e); 194 198 195 return MPC_STATUS_OK;199 return err; 196 200 }
Note: See TracChangeset
for help on using the changeset viewer.