Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
19089232
Commit
19089232
authored
Mar 05, 2001
by
Josh Coalson
Browse files
remove bps limit on mid-side coding
parent
acac6428
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libFLAC/encoder.c
View file @
19089232
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment