Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Bug in mp3dec_api_fp.c

m3driver
Beginner
110 Views

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