[FFmpeg-cvslog] r23131 - trunk/libavcodec/ac3dec.c

cehoyos subversion
Thu May 13 22:41:36 CEST 2010


Author: cehoyos
Date: Thu May 13 22:41:36 2010
New Revision: 23131

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

Modified:
   trunk/libavcodec/ac3dec.c

Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c	Thu May 13 21:42:32 2010	(r23130)
+++ trunk/libavcodec/ac3dec.c	Thu May 13 22:41:36 2010	(r23131)
@@ -1268,7 +1268,7 @@ static int decode_audio_block(AC3DecodeC
     }
 
     /* 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);
     }
 



More information about the ffmpeg-cvslog mailing list