comparison aac.c @ 7890:20dd4e5e5aa6 libavcodec

Cosmetics: missing brackets
author superdump
date Thu, 18 Sep 2008 15:48:37 +0000
parents fdd3e68dcf94
children 13ee9bb85721
comparison
equal deleted inserted replaced
7889:fdd3e68dcf94 7890:20dd4e5e5aa6
991 if (c) { 991 if (c) {
992 cge = coup->coupling_point == AFTER_IMDCT ? 1 : get_bits1(gb); 992 cge = coup->coupling_point == AFTER_IMDCT ? 1 : get_bits1(gb);
993 gain = cge ? get_vlc2(gb, vlc_scalefactors.table, 7, 3) - 60: 0; 993 gain = cge ? get_vlc2(gb, vlc_scalefactors.table, 7, 3) - 60: 0;
994 gain_cache = pow(scale, gain); 994 gain_cache = pow(scale, gain);
995 } 995 }
996 for (g = 0; g < sce->ics.num_window_groups; g++) 996 for (g = 0; g < sce->ics.num_window_groups; g++) {
997 for (sfb = 0; sfb < sce->ics.max_sfb; sfb++, idx++) 997 for (sfb = 0; sfb < sce->ics.max_sfb; sfb++, idx++) {
998 if (sce->band_type[idx] != ZERO_BT) { 998 if (sce->band_type[idx] != ZERO_BT) {
999 if (!cge) { 999 if (!cge) {
1000 int t = get_vlc2(gb, vlc_scalefactors.table, 7, 3) - 60; 1000 int t = get_vlc2(gb, vlc_scalefactors.table, 7, 3) - 60;
1001 if (t) { 1001 if (t) {
1002 int s = 1; 1002 int s = 1;
1008 gain_cache = pow(scale, gain) * s; 1008 gain_cache = pow(scale, gain) * s;
1009 } 1009 }
1010 } 1010 }
1011 coup->gain[c][idx] = gain_cache; 1011 coup->gain[c][idx] = gain_cache;
1012 } 1012 }
1013 }
1014 }
1013 } 1015 }
1014 return 0; 1016 return 0;
1015 } 1017 }
1016 1018
1017 /** 1019 /**