41 const uint8_t **poutbuf,
int *poutbuf_size,
42 const uint8_t *buf,
int buf_size)
51 for (i = 0; i < buf_size; i++) {
52 state = (state << 8) | buf[i];
54 if ((state & 0xFFFF0000FFFFFF00) == 0x8000000003120400ULL) {
55 int channels = state & 0xFF;
56 int header_size = ((state >> 32) & 0xFFFF) + 4;
57 if (channels > 0 && header_size >= 8) {
87 *poutbuf_size = buf_size;