remove bps limit on mid-side coding
authorJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 5 Mar 2001 20:02:13 +0000 (20:02 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 5 Mar 2001 20:02:13 +0000 (20:02 +0000)
src/libFLAC/encoder.c

index 6208934..8af0735 100644 (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;