diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-12 23:43:31 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-20 15:08:41 -0500 |
commit | 41ac9bb253c371e95abc854786334c857bbe4065 (patch) | |
tree | 917e9a682bb03f6b4b63353d99e01217b9268af7 /libavcodec/adx_parser.c | |
parent | b3a4c7e0f1faa327a52b10840eed14e116587894 (diff) | |
download | ffmpeg-41ac9bb253c371e95abc854786334c857bbe4065.tar.gz |
adx parser: set duration
Diffstat (limited to 'libavcodec/adx_parser.c')
-rw-r--r-- | libavcodec/adx_parser.c | 3 |
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; |