mlp parser: set duration instead of frame_size

This commit is contained in:
Justin Ruggles 2012-01-12 23:43:30 -05:00
parent 2460b168b4
commit b3a4c7e0f1
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ static int mlp_parse(AVCodecParserContext *s,
else
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
avctx->sample_rate = mh.group1_samplerate;
avctx->frame_size = mh.access_unit_size;
s->duration = mh.access_unit_size;
if (mh.stream_type == 0xbb) {
/* MLP stream */