summaryrefslogtreecommitdiffstats
path: root/libfaad2/is.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfaad2/is.c')
-rw-r--r--libfaad2/is.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libfaad2/is.c b/libfaad2/is.c
index 590187746d..6418e1bae3 100644
--- a/libfaad2/is.c
+++ b/libfaad2/is.c
@@ -23,7 +23,7 @@
** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
**
** Initially modified for use with MPlayer by Arpad Gereöffy on 2003/08/30
-** $Id: is.c,v 1.3 2004/06/02 22:59:03 diego Exp $
+** $Id: is.c,v 1.4 2004/06/23 13:50:50 diego Exp $
** detailed CVS changelog at http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
**/
@@ -68,12 +68,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]));