Fix Mpeg frame verification

This commit is contained in:
Markus Birth 2024-05-27 23:44:54 +01:00
parent 5b8e15a1e0
commit 0ef2575001

View File

@ -366,7 +366,7 @@ class Mp3Info
}
} while ($this->fileObj->getFilePos() <= $headerSeekMax);
if (!$pos) {
if ($pos === false) {
throw new Exception('No Mpeg frame header found up until pos ' . $headerSeekMax . '(0x' . dechex($headerSeekMax).')!');
}