# HG changeset patch # User henry # Date 1113151140 0 # Node ID 90670e48d2708c0dfa2b4f4f880dbb248c386433 # Parent 1d3ba9fb75cd75eebbc7a33c9f85998b9e369beb Use proper parameter range in stereo test diff -r 1d3ba9fb75cd -r 90670e48d270 mp3lib/layer1.c --- a/mp3lib/layer1.c Sun Apr 10 16:30:53 2005 +0000 +++ b/mp3lib/layer1.c Sun Apr 10 16:39:00 2005 +0000 @@ -15,7 +15,7 @@ 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];