28 #define DCA_MARKER_14B_BE 0x1FFFE800
29 #define DCA_MARKER_14B_LE 0xFF1F00E8
30 #define DCA_MARKER_RAW_BE 0x7FFE8001
31 #define DCA_MARKER_RAW_LE 0xFE7F0180
37 int markers[4*16] = {0};
45 int marker, sample_blocks,
sample_rate, sr_code, framesize;
50 state = (state << 16) | bytestream_get_be16(&bufp);
52 if (buf - p->
buf >= 4)
63 (bytestream_get_be16(&bufp) & 0xFFF0) == 0x07F0)
68 (bytestream_get_be16(&bufp) & 0xF0FF) == 0xF007)
79 sample_blocks =
get_bits(&gb, 7) + 1;
80 if (sample_blocks < 8)
102 marker += 4* sr_code;
110 if (markers[max] < markers[i])
114 if (markers[max] > 3 && p->
buf_size / markers[max] < 32*1024 &&
115 markers[max] * 4 > sum * 3 &&