if (($atomsize > 8
) && (!
isset($info['avdataend_tmp'
]) || ($info['quicktime'
][$atomname]['size'
] >
($info['avdataend_tmp'
] -
$info['avdataoffset'
])))) { $info['avdataoffset'
] =
$atom_structure['offset'
] + 8; // $info['quicktime'][$atomname]['offset'] + 8;
$OldAVDataEnd =
$info['avdataend'
];
$info['avdataend'
] =
$atom_structure['offset'
] +
$atom_structure['size'
]; // $info['quicktime'][$atomname]['offset'] + $info['quicktime'][$atomname]['size'];
$getid3_temp =
new getID3();
$getid3_temp->
openfile($this->getid3->filename,
$this->getid3->info
['filesize'
],
$this->getid3->fp
);
$getid3_temp->info
['avdataoffset'
] =
$info['avdataoffset'
];
$getid3_temp->info
['avdataend'
] =
$info['avdataend'
];
$getid3_mp3 =
new getid3_mp3($getid3_temp);
if ($getid3_mp3->
MPEGaudioHeaderValid($getid3_mp3->
MPEGaudioHeaderDecode($this->
fread(4
)))) { $getid3_mp3->
getOnlyMPEGaudioInfo($getid3_temp->info
['avdataoffset'
], false
);
if (!
empty($getid3_temp->info
['warning'
])) { foreach ($getid3_temp->info
['warning'
] as $value) { $this->
warning($value);
} } if (!
empty($getid3_temp->info
['mpeg'
])) { $info['mpeg'
] =
$getid3_temp->info
['mpeg'
];
if (isset($info['mpeg'
]['audio'
])) { $info['audio'
]['dataformat'
] = 'mp3';