[Mplayer-cvslog] CVS: main/mp3lib layer3.c,1.1.1.1,1.2

GEREOFFY arpi_esp at users.sourceforge.net
Mon May 7 04:00:00 CEST 2001


Update of /cvsroot/mplayer/main/mp3lib
In directory usw-pr-cvs1:/tmp/cvs-serv16647

Modified Files:
	layer3.c 
Log Message:
segfault fixed - maybe

Index: layer3.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/layer3.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** layer3.c	2001/02/24 20:31:04	1.1.1.1
--- layer3.c	2001/05/07 01:59:58	1.2
***************
*** 664,668 ****
            while((y=*val++)<0) {
              part2remain--;
!             if(part2remain < 0) return 0;
              if (get1bit()) val-=y;
            }
--- 664,668 ----
            while((y=*val++)<0) {
              part2remain--;
!             if(part2remain < 0) return 1;
              if (get1bit()) val-=y;
            }
***************
*** 819,823 ****
            while((y=*val++)<0) {
              part2remain--;
!             if(part2remain < 0) return 0;
              if (get1bit()) val -= y;
  //            if(part2remain<=0) return 0; // Arpi
--- 819,823 ----
            while((y=*val++)<0) {
              part2remain--;
!             if(part2remain < 0) return 1;
              if (get1bit()) val -= y;
  //            if(part2remain<=0) return 0; // Arpi
***************
*** 1009,1013 ****
            while((y=*val++)<0) {
              part2remain--;
!             if(part2remain < 0) return 0;
              if (get1bit()) val -= y;
  //            if(part2remain<=0) return 0; // Arpi
--- 1009,1013 ----
            while((y=*val++)<0) {
              part2remain--;
!             if(part2remain < 0) return 1;
              if (get1bit()) val -= y;
  //            if(part2remain<=0) return 0; // Arpi
***************
*** 1204,1208 ****
            while((y=*val++)<0) {
              part2remain--;
!             if(part2remain < 0) return 0;
              if (get1bit()) val -= y;
            }
--- 1204,1208 ----
            while((y=*val++)<0) {
              part2remain--;
!             if(part2remain < 0) return 1;
              if (get1bit()) val -= y;
            }


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list