86 s1 = av_clip_int16(s0);
99 int buf_size = avpkt->
size;
105 int num_blocks, ch,
ret;
121 if (buf_size < header_size)
124 buf_size -= header_size;
135 if (buf_size >= 4 && (
AV_RB16(buf) & 0x8000)) {
150 while (num_blocks--) {
151 for (ch = 0; ch < c->
channels; ch++) {
167 return buf - avpkt->
data;
173 memset(c->
prev, 0,
sizeof(c->
prev));