mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Allow the second byte of MPEG header to contain 0xFF
0xFF in the second byte means MPEG Version 1, Layer I, no CRC protection. http://mpgedit.org/mpgedit/mpeg_format/MP3Format.html
This commit is contained in:
parent
94efe5c187
commit
4a85e1e1ca
@ -656,9 +656,6 @@ void MPEG::File::findAPE()
|
||||
|
||||
bool MPEG::File::secondSynchByte(char byte)
|
||||
{
|
||||
if(uchar(byte) == 0xff)
|
||||
return false;
|
||||
|
||||
std::bitset<8> b(byte);
|
||||
|
||||
// check to see if the byte matches 111xxxxx
|
||||
|
Loading…
Reference in New Issue
Block a user