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
45 int marker, sample_blocks,
sample_rate, sr_code, framesize;
49 state = (state << 16) | bytestream_get_be16(&bufp);
51 if (buf - p->
buf >= 4)
62 (bytestream_get_be16(&bufp) & 0xFFF0) == 0x07F0)
67 (bytestream_get_be16(&bufp) & 0xF0FF) == 0xF007)
78 sample_blocks =
get_bits(&gb, 7) + 1;
79 if (sample_blocks < 8)
94 sum = markers[0] + markers[1] + markers[2] + markers[3];
97 if (markers[max] < markers[i])
99 if (markers[max] > 3 && p->
buf_size / markers[max] < 32*1024 &&
100 markers[max] * 4 > sum * 3 &&