remove bps limit on mid-side coding

This commit is contained in:
Josh Coalson 2001-03-05 20:02:13 +00:00
parent acac64281a
commit 190892325c
1 changed files with 0 additions and 5 deletions

View File

@ -263,11 +263,6 @@ FLAC__EncoderState FLAC__encoder_init(FLAC__Encoder *encoder, FLAC__EncoderWrite
if(encoder->do_mid_side_stereo && encoder->channels != 2)
return encoder->state = FLAC__ENCODER_MID_SIDE_CHANNELS_MISMATCH;
/*@@@ necessary?
if(encoder->do_mid_side_stereo && encoder->bits_per_sample > 16)
return encoder->state = FLAC__ENCODER_MID_SIDE_SAMPLE_SIZE_MISMATCH;
*/
if(encoder->loose_mid_side_stereo && !encoder->do_mid_side_stereo)
return encoder->state = FLAC__ENCODER_ILLEGAL_MID_SIDE_FORCE;