atom/container classes are lowercase

This commit is contained in:
Deon George 2024-09-27 21:29:18 +10:00
parent d912d35b87
commit 1151d43bee
3 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ class MSVideo extends Base
$header['name'] = 'RLIST';
// Load our class for this supplier
$class = $class_prefix.$header['name'];
$class = $class_prefix.strtolower($header['name']);
$data = $bytes
? substr($bytes,$rp,$header['size'])

View File

@ -59,7 +59,7 @@ class rlist extends Container
if ($header['name'] === 'LIST')
$header['name'] = 'RLIST';
$class = self::container_classes.$header['name'];
$class = self::container_classes.strtolower($header['name']);
$data = $bytes
? substr($bytes,$rp,$header['size'])

View File

@ -39,7 +39,7 @@ trait FindQuicktimeAtoms
}
// Load our class for this supplier
$class = $class_prefix.$header['atom'];
$class = $class_prefix.strtolower($header['atom']);
$data = $atom
? substr($atom,$rp,$header['size']-$prelude)