From 4a85e1e1ca4af7c4453b59b2985702df96660f42 Mon Sep 17 00:00:00 2001 From: Jingmin Wei Date: Mon, 15 Apr 2013 09:46:08 +0200 Subject: [PATCH] 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 --- taglib/mpeg/mpegfile.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/taglib/mpeg/mpegfile.cpp b/taglib/mpeg/mpegfile.cpp index 51cb5784..f765befb 100644 --- a/taglib/mpeg/mpegfile.cpp +++ b/taglib/mpeg/mpegfile.cpp @@ -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