Fix compilation of AC3 decoder if E-AC3 decoder was disabled.

backport r23131 by cehoyos


Originally committed as revision 23220 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
This commit is contained in:
Reinhard Tartler 2010-05-21 18:38:39 +00:00
parent dd92ff49c9
commit cff1f85c3f

View File

@ -1268,7 +1268,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
}
/* apply spectral extension to high frequency bins */
if (s->spx_in_use) {
if (s->spx_in_use && CONFIG_EAC3_DECODER) {
ff_eac3_apply_spectral_extension(s);
}