1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

adx parser: set duration

This commit is contained in:
Justin Ruggles 2012-01-12 23:43:31 -05:00
parent b3a4c7e0f1
commit 41ac9bb253

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;