Browse Source

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  eac3: cosmetics, re-indent.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 11 years ago
parent
commit
fde2afd9fb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/eac3dec.c

+ 2
- 2
libavcodec/eac3dec.c View File

@@ -349,12 +349,12 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
if (s->channel_mode & 1) {
/* if three front channels exist */
s->center_mix_level_ltrt = get_bits(gbc, 3);
s->center_mix_level = get_bits(gbc, 3);
s->center_mix_level = get_bits(gbc, 3);
}
if (s->channel_mode & 4) {
/* if a surround channel exists */
s->surround_mix_level_ltrt = av_clip(get_bits(gbc, 3), 3, 7);
s->surround_mix_level = av_clip(get_bits(gbc, 3), 3, 7);
s->surround_mix_level = av_clip(get_bits(gbc, 3), 3, 7);
}
}



Loading…
Cancel
Save