adx parser: set duration

This commit is contained in:
Justin Ruggles 2012-01-12 23:43:31 -05:00
parent b3a4c7e0f1
commit 41ac9bb253
1 changed files with 3 additions and 0 deletions

View File

@ -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;