summaryrefslogtreecommitdiff
path: root/libavcodec/adx_parser.c
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/adx_parser.c
parentb3a4c7e0f1faa327a52b10840eed14e116587894 (diff)
adx parser: set duration
Diffstat (limited to 'libavcodec/adx_parser.c')
-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;