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
|