34 int markers[4*16] = {0};
42 int marker, sample_blocks,
sample_rate, sr_code, framesize;
47 state = (state << 16) | bytestream_get_be16(&bufp);
49 if (buf - p->
buf >= 4)
60 (bytestream_get_be16(&bufp) & 0xFFF0) == 0x07F0)
65 (bytestream_get_be16(&bufp) & 0xF0FF) == 0xF007)
76 sample_blocks =
get_bits(&gb, 7) + 1;
77 if (sample_blocks < 8)
107 if (markers[max] < markers[i])
111 if (markers[max] > 3 && p->
buf_size / markers[max] < 32*1024 &&
112 markers[max] * 4 > sum * 3 &&