diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c index 9a076f6a7f..b5d3ff7226 100644 --- a/libavcodec/mlp_parser.c +++ b/libavcodec/mlp_parser.c @@ -165,6 +165,7 @@ static int mlp_parse(AVCodecParserContext *s, else avctx->sample_fmt = AV_SAMPLE_FMT_S16; avctx->sample_rate = mh.group1_samplerate; + avctx->frame_size = s->duration = mh.access_unit_size; if(!avctx->channels || !avctx->channel_layout) {