$info['fileformat'
] = 'quicktime';
$info['quicktime'
]['hinting'
] = false;
$info['quicktime'
]['controller'
] = 'standard'; // may be overridden if 'ctyp' atom is present
$this->
fseek($info['avdataoffset'
]);
$offset = 0;
$atomcounter = 0;
$atom_data_read_buffer_size =
$info['php_memory_limit'
] ?
round($info['php_memory_limit'
] / 4
) :
$this->getid3->option_fread_buffer_size * 1024; // set read buffer to 25% of PHP memory limit (if one is specified), otherwise use option_fread_buffer_size [default: 32MB]
while ($offset <
$info['avdataend'
]) { if (!getid3_lib::
intValueSupported($offset)) { $this->
error('Unable to parse atom at offset '.
$offset.' because beyond '.
round(PHP_INT_MAX / 1073741824
).'GB limit of PHP filesystem functions'
);
break;
} $this->
fseek($offset);
$AtomHeader =
$this->
fread(8
);
// https://github.com/JamesHeinrich/getID3/issues/382
// Atom sizes are stored as 32-bit number in most cases, but sometimes (notably for "mdat")
// a 64-bit value is required, in which case the normal 32-bit size field is set to 0x00000001
// and the 64-bit "real" size value is the next 8 bytes.
$atom_size_extended_bytes = 0;