aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-01-12 23:43:31 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-20 15:08:41 -0500
commit41ac9bb253c371e95abc854786334c857bbe4065 (patch)
tree917e9a682bb03f6b4b63353d99e01217b9268af7 /libavcodec
parentb3a4c7e0f1faa327a52b10840eed14e116587894 (diff)
downloadffmpeg-41ac9bb253c371e95abc854786334c857bbe4065.tar.gz
adx parser: set duration
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/adx_parser.c3
1 files changed, 3 insertions, 0 deletions
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;