Browse Source

adx parser: set duration

tags/n0.11
Justin Ruggles 13 years ago
parent
commit
41ac9bb253
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/adx_parser.c

+ 3
- 0
libavcodec/adx_parser.c View File

@@ -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;


Loading…
Cancel
Save