Commit 6b0e3832 authored by cehoyos's avatar cehoyos

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23131 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7da15e3e
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment