adx parser: set duration
This commit is contained in:
parent
b3a4c7e0f1
commit
41ac9bb253
@ -80,6 +80,9 @@ static int adx_parse(AVCodecParserContext *s1,
|
||||
*poutbuf_size = 0;
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
s1->duration = BLOCK_SAMPLES;
|
||||
|
||||
*poutbuf = buf;
|
||||
*poutbuf_size = buf_size;
|
||||
return next;
|
||||
|
Loading…
Reference in New Issue
Block a user