22 $ThisFileInfo[
'fileformat'] =
'matroska';
24 fseek($fd, $ThisFileInfo[
'avdataoffset'], SEEK_SET);
28 $ThisFileInfo[
'error'][] =
'Mastroka parsing not enabled in this version of getID3()';
54 if (0x80 & ord($EBMLstring{0})) {
55 $EBMLstring{0} = chr(ord($EBMLstring{0}) & 0x7F);
56 } elseif (0x40 & ord($EBMLstring{0})) {
57 $EBMLstring{0} = chr(ord($EBMLstring{0}) & 0x3F);
58 } elseif (0x20 & ord($EBMLstring{0})) {
59 $EBMLstring{0} = chr(ord($EBMLstring{0}) & 0x1F);
60 } elseif (0x10 & ord($EBMLstring{0})) {
61 $EBMLstring{0} = chr(ord($EBMLstring{0}) & 0x0F);
62 } elseif (0x08 & ord($EBMLstring{0})) {
63 $EBMLstring{0} = chr(ord($EBMLstring{0}) & 0x07);
64 } elseif (0x04 & ord($EBMLstring{0})) {
65 $EBMLstring{0} = chr(ord($EBMLstring{0}) & 0x03);
66 } elseif (0x02 & ord($EBMLstring{0})) {
67 $EBMLstring{0} = chr(ord($EBMLstring{0}) & 0x01);
68 } elseif (0x01 & ord($EBMLstring{0})) {
69 $EBMLstring{0} = chr(ord($EBMLstring{0}) & 0x00);