git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adx parser: set duration
[ffmpeg.git]
/
libavcodec
/
adx_parser.c
diff --git
a/libavcodec/adx_parser.c
b/libavcodec/adx_parser.c
index
de3b1b0
..
8dc87fc
100644
(file)
--- 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;