Commit a753e55b authored by Michael Niedermayer's avatar Michael Niedermayer

simplify

Originally committed as revision 6067 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 312954f0
...@@ -2159,10 +2159,7 @@ static int mp_decode_layer3(MPADecodeContext *s) ...@@ -2159,10 +2159,7 @@ static int mp_decode_layer3(MPADecodeContext *s)
/* read side info */ /* read side info */
if (s->lsf) { if (s->lsf) {
main_data_begin = get_bits(&s->gb, 8); main_data_begin = get_bits(&s->gb, 8);
if (s->nb_channels == 2) private_bits = get_bits(&s->gb, s->nb_channels);
private_bits = get_bits(&s->gb, 2);
else
private_bits = get_bits(&s->gb, 1);
nb_granules = 1; nb_granules = 1;
} else { } else {
main_data_begin = get_bits(&s->gb, 9); main_data_begin = get_bits(&s->gb, 9);
......
Markdown is supported
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