Revision ee7fed27 libavcodec/atrac3.c

View differences:

libavcodec/atrac3.c
327 327
            readQuantSpectralCoeffs (gb, subband_vlc_index[cnt], codingMode, mantissas, subbWidth);
328 328

  
329 329
            /* Decode the scale factor for this subband. */
330
            SF = sf_table[SF_idxs[cnt]] * iMaxQuant[subband_vlc_index[cnt]];
330
            SF = ff_atrac_sf_table[SF_idxs[cnt]] * iMaxQuant[subband_vlc_index[cnt]];
331 331

  
332 332
            /* Inverse quantize the coefficients. */
333 333
            for (pIn=mantissas ; first<last; first++, pIn++)
......
400 400
                coded_values = coded_values_per_component + 1;
401 401
                coded_values = FFMIN(max_coded_values,coded_values);
402 402

  
403
                scalefactor = sf_table[sfIndx] * iMaxQuant[quant_step_index];
403
                scalefactor = ff_atrac_sf_table[sfIndx] * iMaxQuant[quant_step_index];
404 404

  
405 405
                readQuantSpectralCoeffs(gb, quant_step_index, coding_mode, mantissa, coded_values);
406 406

  

Also available in: Unified diff