mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Fix a silly mistake.
This commit is contained in:
parent
67434aa7b4
commit
45762d20f1
@ -311,7 +311,7 @@ void MPEG::Header::parse(File *file, long offset, bool checkLength)
|
||||
const ByteVector nextSynch = file->readBlock(4);
|
||||
|
||||
for(int i = 0; i < static_cast<int>(nextSynch.size()) - 1; ++i) {
|
||||
if(firstSyncByte(nextSynch[0]) && secondSynchByte(nextSynch[1])) {
|
||||
if(firstSyncByte(nextSynch[i]) && secondSynchByte(nextSynch[i + 1])) {
|
||||
nextFrameFound = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user