Tweak retrojunk changes
This commit is contained in:
parent
ccf9f26c64
commit
f5cfd56747
1 changed files with 4 additions and 8 deletions
|
|
@ -454,13 +454,9 @@ class FFMpeg extends Binary
|
|||
*/
|
||||
protected function getMultiple($value, $multiple)
|
||||
{
|
||||
if (($value % $multiple) === 0){
|
||||
return $value;
|
||||
}
|
||||
|
||||
do {
|
||||
while (0 !== $value % $multiple) {
|
||||
$value++;
|
||||
} while (($value % $multiple) != 0);
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue