[FFmpeg-cvslog] r23220 - in branches/0.6: . libavcodec/ac3dec.c

siretart subversion
Fri May 21 20:38:39 CEST 2010


Author: siretart
Date: Fri May 21 20:38:39 2010
New Revision: 23220

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

backport r23131 by cehoyos

Modified:
   branches/0.6/   (props changed)
   branches/0.6/libavcodec/ac3dec.c

Modified: branches/0.6/libavcodec/ac3dec.c
==============================================================================
--- branches/0.6/libavcodec/ac3dec.c	Fri May 21 20:32:58 2010	(r23219)
+++ branches/0.6/libavcodec/ac3dec.c	Fri May 21 20:38:39 2010	(r23220)
@@ -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