getid3_quicktime::quicktime_read_mp4_descr_length() –
You appear to be a bot. Output may be restricted
Description
Usage
$int = getid3_quicktime::quicktime_read_mp4_descr_length( $data, $offset );
Parameters
- $data
- ( string ) required –
- $offset
- ( int ) required –
Returns
int
Source
File name: wordpress/wp-includes/ID3/module.audio-video.quicktime.php
Lines:
1 to 10 of 10
public function quicktime_read_mp4_descr_length($data, &$offset) { // http://libquicktime.sourcearchive.com/documentation/2:1.0.2plus-pdebian-2build1/esds_8c-source.html $num_bytes = 0; $length = 0; do { $b = ord(substr($data, $offset++, 1)); $length = ($length << 7) | ($b & 0x7F); } while (($b & 0x80) && ($num_bytes++ < 4)); return $length; }