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:
parent
b3a4c7e0f1
commit
41ac9bb253
@ -80,6 +80,9 @@ static int adx_parse(AVCodecParserContext *s1,
|
|||||||
*poutbuf_size = 0;
|
*poutbuf_size = 0;
|
||||||
return buf_size;
|
return buf_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s1->duration = BLOCK_SAMPLES;
|
||||||
|
|
||||||
*poutbuf = buf;
|
*poutbuf = buf;
|
||||||
*poutbuf_size = buf_size;
|
*poutbuf_size = buf_size;
|
||||||
return next;
|
return next;
|
||||||
|
Loading…
Reference in New Issue
Block a user