changeset 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 7c35c611faa4
children 907ac02ef561
files ac3dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }