mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 07:40:00 +08:00
adx parser: set duration
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user