From 41ac9bb253c371e95abc854786334c857bbe4065 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Thu, 12 Jan 2012 23:43:31 -0500 Subject: adx parser: set duration --- libavcodec/adx_parser.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/adx_parser.c') diff --git a/libavcodec/adx_parser.c b/libavcodec/adx_parser.c index de3b1b073f..8dc87fcc58 100644 --- a/libavcodec/adx_parser.c +++ b/libavcodec/adx_parser.c @@ -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; -- cgit v1.2.3