# HG changeset patch # User cehoyos # Date 1273783296 0 # Node ID 0c98bdb71f48cd44f3bc6cc167efe0293849eecf # Parent 7c35c611faa4b89f6a7ec0e3fb56573a9c2e1faf Fix compilation of AC3 decoder if E-AC3 decoder was disabled. diff -r 7c35c611faa4 -r 0c98bdb71f48 ac3dec.c --- a/ac3dec.c Thu May 13 19:18:54 2010 +0000 +++ b/ac3dec.c Thu May 13 20:41:36 2010 +0000 @@ -1268,7 +1268,7 @@ } /* 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); }