47 if (!(bytestream2_peek_byte(&p) & 1))
50 if (bytestream2_peek_byte(&p) == 1) {
53 if (bytestream2_peek_byte(&p) ==
'v'){
57 tag = bytestream2_get_le32(&p);
60 }
else if (bytestream2_peek_byte(&p) ==
't') {
71 cid = strtol(acid,
NULL, 16);
78 size = bytestream2_get_le32(&p);
80 time_unit = bytestream2_get_le64(&p);
81 spu = bytestream2_get_le64(&p);
82 if (!time_unit || !spu) {
111 }
else if (bytestream2_peek_byte(&p) == 3) {
147 }
else if(t == 0x05589f81){
172 lb = ((*p & 2) << 1) | ((*p >> 6) & 3);
183 .
magic =
"\001video",
187 .granule_is_start = 1,
192 .
magic =
"\001audio",
196 .granule_is_start = 1,
205 .granule_is_start = 1,
210 .
magic =
"\001Direct Show Samples embedded in Ogg",
214 .granule_is_start = 1,