summaryrefslogtreecommitdiff
path: root/src/libfaad/is.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfaad/is.c')
-rw-r--r--src/libfaad/is.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libfaad/is.c b/src/libfaad/is.c
index 4b998e1fc..9fcdbcbb5 100644
--- a/src/libfaad/is.c
+++ b/src/libfaad/is.c
@@ -22,7 +22,7 @@
** Commercial non-GPL licensing of this software is possible.
** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
**
-** $Id: is.c,v 1.6 2004/12/03 01:15:30 tmattern Exp $
+** $Id: is.c,v 1.7 2005/10/29 23:57:06 tmmm Exp $
**/
#include "common.h"
@@ -66,12 +66,14 @@ void is_decode(ic_stream *ics, ic_stream *icsr, real_t *l_spec, real_t *r_spec,
{
if (is_intensity(icsr, g, sfb))
{
+#ifdef MAIN_DEC
/* For scalefactor bands coded in intensity stereo the
corresponding predictors in the right channel are
switched to "off".
*/
ics->pred.prediction_used[sfb] = 0;
icsr->pred.prediction_used[sfb] = 0;
+#endif
#ifndef FIXED_POINT
scale = (real_t)pow(0.5, (0.25*icsr->scale_factors[g][sfb]));