[MPlayer-cvslog] CVS: main/mp3lib layer1.c,1.1,1.2
Jindrich Makovicka CVS
syncmail at mplayerhq.hu
Sun Apr 10 18:39:03 CEST 2005
CVS change done by Jindrich Makovicka CVS
Update of /cvsroot/mplayer/main/mp3lib
In directory mail:/var2/tmp/cvs-serv26675
Modified Files:
layer1.c
Log Message:
Use proper parameter range in stereo test
Index: layer1.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/layer1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- layer1.c 24 Jul 2003 22:12:58 -0000 1.1
+++ layer1.c 10 Apr 2005 16:39:00 -0000 1.2
@@ -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;i<jsbound;i++) {
@@ -59,7 +59,7 @@
register unsigned int *ba;
register unsigned int *sca = (unsigned int *) scale_index;
- if(fr->stereo) {
+ if(fr->stereo == 2) {
int jsbound = fr->jsbound;
register real *f0 = fraction[0];
register real *f1 = fraction[1];
More information about the MPlayer-cvslog
mailing list