You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the mp3-rates table and mp2.5-rates table do not contain index = 15, but the algorithm allows for this value (index is 4 bits)
the sample-rate table does not define a value for index = 3. match an mp3 header contains a check that bails out if index is 3, but parse an mp3 frame does not.
parse_mp3_frame computes a samplerate that is never used
Typo: 6. Let skipped-bytes the return value of [...] -> 6. Let skipped-bytes be the return value of [...]
I'm not too familiar with the way this is handled in other specs but IMO expressions like sequence[s + 1] & 0x06 >> 1. should contain parenthesis, as the order of operations is not immediately obvious. (this might come down to personal preference)
The text was updated successfully, but these errors were encountered:
Link to the algorithm in question.
mp3-rates table
andmp2.5-rates table
do not contain index = 15, but the algorithm allows for this value (index is 4 bits)sample-rate table
does not define a value for index = 3.match an mp3 header
contains a check that bails out if index is 3, butparse an mp3 frame
does not.parse_mp3_frame
computes a samplerate that is never used6. Let skipped-bytes the return value of [...]
->6. Let skipped-bytes be the return value of [...]
sequence[s + 1] & 0x06 >> 1.
should contain parenthesis, as the order of operations is not immediately obvious. (this might come down to personal preference)The text was updated successfully, but these errors were encountered: