Fix Mpeg frame verification
This commit is contained in:
parent
5b8e15a1e0
commit
0ef2575001
@ -366,7 +366,7 @@ class Mp3Info
|
|||||||
}
|
}
|
||||||
} while ($this->fileObj->getFilePos() <= $headerSeekMax);
|
} 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).')!');
|
throw new Exception('No Mpeg frame header found up until pos ' . $headerSeekMax . '(0x' . dechex($headerSeekMax).')!');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user