|
@@ 410-415 (lines=6) @@
|
| 407 |
|
$boxsmallsize = getid3_lib::BigEndian2Int(substr($atom_data, $atomoffset, 2)); |
| 408 |
|
$boxsmalltype = substr($atom_data, $atomoffset + 2, 2); |
| 409 |
|
$boxsmalldata = substr($atom_data, $atomoffset + 4, $boxsmallsize); |
| 410 |
|
if ($boxsmallsize <= 1) { |
| 411 |
|
$this->warning('Invalid QuickTime atom smallbox size "'.$boxsmallsize.'" in atom "'.preg_replace('#[^a-zA-Z0-9 _\\-]#', '?', $atomname).'" at offset: '.($atom_structure['offset'] + $atomoffset)); |
| 412 |
|
$atom_structure['data'] = null; |
| 413 |
|
$atomoffset = strlen($atom_data); |
| 414 |
|
break; |
| 415 |
|
} |
| 416 |
|
switch ($boxsmalltype) { |
| 417 |
|
case "\x10\xB5": |
| 418 |
|
$atom_structure['data'] = $boxsmalldata; |
|
@@ 432-437 (lines=6) @@
|
| 429 |
|
$boxsize = getid3_lib::BigEndian2Int(substr($atom_data, $atomoffset, 4)); |
| 430 |
|
$boxtype = substr($atom_data, $atomoffset + 4, 4); |
| 431 |
|
$boxdata = substr($atom_data, $atomoffset + 8, $boxsize - 8); |
| 432 |
|
if ($boxsize <= 1) { |
| 433 |
|
$this->warning('Invalid QuickTime atom box size "'.$boxsize.'" in atom "'.preg_replace('#[^a-zA-Z0-9 _\\-]#', '?', $atomname).'" at offset: '.($atom_structure['offset'] + $atomoffset)); |
| 434 |
|
$atom_structure['data'] = null; |
| 435 |
|
$atomoffset = strlen($atom_data); |
| 436 |
|
break; |
| 437 |
|
} |
| 438 |
|
$atomoffset += $boxsize; |
| 439 |
|
|
| 440 |
|
switch ($boxtype) { |