Commit c300fe13 authored by James Almer's avatar James Almer

avcodec/mlp_parser: export AVCodecContext frame_size

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 21d7eeaf
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment