Commit 19089232 authored by Josh Coalson's avatar Josh Coalson
Browse files

remove bps limit on mid-side coding

parent acac6428
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment