forked from len0rd/rockbox
MP3 files with VBRI frames were parsed incorrectly, and the VBRI frame was partly fed to the MAS, giving playback glitches
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4560 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bd3d297b31
commit
a23303695e
1 changed files with 3 additions and 1 deletions
|
|
@ -464,9 +464,11 @@ int get_mp3file_info(int fd, struct mp3info *info)
|
|||
|
||||
/* 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue