mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 15:12:30 -05:00
Reverted last change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3493 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8ab8d7d8ac
commit
df4cf2edc4
1 changed files with 3 additions and 1 deletions
|
|
@ -163,7 +163,9 @@ static bool mp3headerinfo(struct mp3info *info, unsigned long header)
|
||||||
/* Bitrate */
|
/* Bitrate */
|
||||||
bitindex = (header & 0xf000) >> 12;
|
bitindex = (header & 0xf000) >> 12;
|
||||||
info->bitrate = bitrate_table[bittable][info->layer][bitindex];
|
info->bitrate = bitrate_table[bittable][info->layer][bitindex];
|
||||||
|
if(info->bitrate == 0)
|
||||||
|
return false;
|
||||||
|
|
||||||
/* Sampling frequency */
|
/* Sampling frequency */
|
||||||
freqindex = (header & 0x0C00) >> 10;
|
freqindex = (header & 0x0C00) >> 10;
|
||||||
info->frequency = freqtab[info->version][freqindex];
|
info->frequency = freqtab[info->version][freqindex];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue