[FFmpeg-soc] [soc]: r1992 - aac/aac.c
andoma
subversion at mplayerhq.hu
Fri Mar 7 13:39:59 CET 2008
Author: andoma
Date: Fri Mar 7 13:39:59 2008
New Revision: 1992
Log:
Remove another unused context variable.
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Fri Mar 7 13:39:59 2008
@@ -186,8 +186,6 @@ typedef struct {
*/
typedef struct {
int intensity_present;
- int noise_present;
-
int max_sfb;
int window_sequence;
int window_shape; ///< If set, use Kaiser-Bessel window, otherwise use a sinus window
@@ -1183,7 +1181,6 @@ static int scale_factor_data(AACContext
int noise = global_gain - 90;
int noise_flag = 1;
ics->intensity_present = 0;
- ics->noise_present = 0;
for (g = 0; g < ics->num_window_groups; g++) {
for (i = 0; i < ics->max_sfb; i++) {
if (cb[g][i] == ZERO_HCB) {
@@ -1198,7 +1195,6 @@ static int scale_factor_data(AACContext
}
sf[g][i] = ac->intensity_tab[intensity];
} else if (cb[g][i] == NOISE_HCB) {
- ics->noise_present = 1;
if (noise_flag) {
noise_flag = 0;
noise += get_bits(gb, 9) - 256;
More information about the FFmpeg-soc
mailing list