From 316d1bd49e8a71640d9555ad21497de47e580f25 Mon Sep 17 00:00:00 2001 From: henry Date: Sun, 10 Apr 2005 16:39:00 +0000 Subject: [PATCH] Use proper parameter range in stereo test git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15104 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/layer1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mp3lib/layer1.c b/mp3lib/layer1.c index 4af0933823..e84e9f5ea5 100644 --- a/mp3lib/layer1.c +++ b/mp3lib/layer1.c @@ -15,7 +15,7 @@ static void I_step_one(unsigned int balloc[], unsigned int scale_index[2][SBLIMI unsigned int *ba=balloc; unsigned int *sca = (unsigned int *) scale_index; - if(fr->stereo) { + if(fr->stereo == 2) { int i; int jsbound = fr->jsbound; for (i=0;istereo) { + if(fr->stereo == 2) { int jsbound = fr->jsbound; register real *f0 = fraction[0]; register real *f1 = fraction[1];