mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/mlp_parser: export AVCodecContext frame_size
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
21d7eeafc1
commit
c300fe13b6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user