Commit 8857035
authored
Fix calculation of final-layer in MP3 header matching
According to ISO/IEC 11172-3 2.4.2.3 the valid values for layer are:
layer I: '11': 3
layer II: '10' : 2
layer III: '01' : 1
So 4-value is we want to get after mask operand and bit shifting.
Fixes #208.1 parent 8a3b918 commit 8857035
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1368 | 1368 | | |
1369 | 1369 | | |
1370 | 1370 | | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
| 1371 | + | |
| 1372 | + | |
1375 | 1373 | | |
1376 | 1374 | | |
1377 | 1375 | | |
| |||
0 commit comments