[FFmpeg-soc] [soc]: r1682 - eac3/eac3dec.c
jbr
subversion at mplayerhq.hu
Sat Dec 29 04:44:24 CET 2007
Author: jbr
Date: Sat Dec 29 04:44:24 2007
New Revision: 1682
Log:
turn nested "if" into "else if"
Modified:
eac3/eac3dec.c
Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c (original)
+++ eac3/eac3dec.c Sat Dec 29 04:44:24 2007
@@ -169,8 +169,7 @@ static void get_transform_coeffs_aht_ch(
for (n = 0; n < chgaqsections; n++) {
s->chgaqgain[n] = get_bits1(gbc);
}
- } else {
- if (chgaqmod == EAC3_GAQ_124) {
+ } else if (chgaqmod == EAC3_GAQ_124) {
int grpgain;
chgaqsections = (chgaqsections+2)/3;
for (n = 0; n < chgaqsections; n++) {
@@ -179,7 +178,6 @@ static void get_transform_coeffs_aht_ch(
s->chgaqgain[3*n+1] = (grpgain%9)/3;
s->chgaqgain[3*n+2] = grpgain%3;
}
- }
}
m=0;
More information about the FFmpeg-soc
mailing list