logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: firmware mp3data.c,1.21,1.22: msg#00094

Subject: cvs: firmware mp3data.c,1.21,1.22
Update of /cvsroot/rockbox/firmware
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3666/firmware

Modified Files:
        mp3data.c 
Log Message:
MP3 files with VBRI frames were parsed incorrectly, and the VBRI frame was 
partly fed to the MAS, giving playback glitches

Index: mp3data.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/mp3data.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- mp3data.c   13 Jan 2004 14:06:18 -0000      1.21
+++ mp3data.c   29 Apr 2004 01:18:15 -0000      1.22
@@ -464,10 +464,12 @@
         
         /* Now get the next frame to find out the real info about
            the mp3 stream */
-        header = find_next_frame(fd, &bytecount, 0x20000, 0);
+        header = find_next_frame(fd, &tmp, 0x20000, 0);
         if(header == 0)
             return -6;
         
+        bytecount += tmp;
+        
         if(!mp3headerinfo(info, header))
             return -7;
 

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>