comparison ac3dec.c @ 11727:0c98bdb71f48 libavcodec

Fix compilation of AC3 decoder if E-AC3 decoder was disabled.
author cehoyos
date Thu, 13 May 2010 20:41:36 +0000
parents e6bff5319932
children
comparison
equal deleted inserted replaced
11726:7c35c611faa4 11727:0c98bdb71f48
1266 } 1266 }
1267 s->dsp.int32_to_float_fmul_scalar(s->transform_coeffs[ch], s->fixed_coeffs[ch], gain, 256); 1267 s->dsp.int32_to_float_fmul_scalar(s->transform_coeffs[ch], s->fixed_coeffs[ch], gain, 256);
1268 } 1268 }
1269 1269
1270 /* apply spectral extension to high frequency bins */ 1270 /* apply spectral extension to high frequency bins */
1271 if (s->spx_in_use) { 1271 if (s->spx_in_use && CONFIG_EAC3_DECODER) {
1272 ff_eac3_apply_spectral_extension(s); 1272 ff_eac3_apply_spectral_extension(s);
1273 } 1273 }
1274 1274
1275 /* downmix and MDCT. order depends on whether block switching is used for 1275 /* downmix and MDCT. order depends on whether block switching is used for
1276 any channel in this block. this is because coefficients for the long 1276 any channel in this block. this is because coefficients for the long