adx parser: set duration

pull/3/merge
Justin Ruggles 13 years ago
parent b3a4c7e0f1
commit 41ac9bb253
  1. 3
      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;

Loading…
Cancel
Save