Community
cancel
Showing results for 
Search instead for 
Did you mean: 
m3driver
Beginner
50 Views

Bug in mp3dec_api_fp.c

In function mp3decGetInfo() the calculation for bitrate is wrong

a_info

->m_info_in.bitrate = mp3_bitrate[header->id][3 - header->layer][header->bitRate] * 1000;

I beleive it should be:

a_info->m_info_in.bitrate = mp3_bitrate[header->id][header->layer - 1][header->bitRate] * 1000;

This is broken in both V5 and V6 beta.

0 Kudos
0 Replies
Reply