31 #define WV_BLOCK_LIMIT 1047576
33 #define WV_EXTRA_SIZE 12
35 #define WV_START_BLOCK 0x0800
36 #define WV_END_BLOCK 0x1000
37 #define WV_SINGLE_BLOCK (WV_START_BLOCK | WV_END_BLOCK)
54 6000, 8000, 9600, 11025, 12000, 16000, 22050, 24000,
55 32000, 44100, 48000, 64000, 88200, 96000, 192000, -1
74 if (p->
buf[0] ==
'w' && p->
buf[1] ==
'v' &&
75 p->
buf[2] ==
'p' && p->
buf[3] ==
'k')
92 if (tag !=
MKTAG(
'w',
'v',
'p',
'k'))
101 if(ver < 0x402 || ver > 0x410){
118 bpp = ((wc->
flags & 3) + 1) << 3;
162 chan |= (
avio_r8(pb) & 0xF) << 8;
185 if(!wc->
bpp) wc->
bpp = bpp;
191 av_log(ctx,
AV_LOG_ERROR,
"Bits per sample differ, this block: %i, header block: %i\n", bpp, wc->
bpp);
198 if(wc->
flags && rate != -1 && rate != wc->
rate){
292 if(ver < 0x402 || ver > 0x410){
341 if(timestamp < 0 || timestamp >= s->
duration)
353 }
while(pts < timestamp);