Originally committed as revision 23131 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -1268,7 +1268,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk) |
| 1268 | 1268 |
} |
| 1269 | 1269 |
|
| 1270 | 1270 |
/* apply spectral extension to high frequency bins */ |
| 1271 |
- if (s->spx_in_use) {
|
|
| 1271 |
+ if (s->spx_in_use && CONFIG_EAC3_DECODER) {
|
|
| 1272 | 1272 |
ff_eac3_apply_spectral_extension(s); |
| 1273 | 1273 |
} |
| 1274 | 1274 |
|