diff options
author | James Almer <jamrial@gmail.com> | 2019-08-24 22:41:52 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-08-24 22:41:52 -0300 |
commit | c300fe13b6294f6386803feff685b52b3571656c (patch) | |
tree | fd9bae6ddfb77c52e3995b677b9055fad89c6a51 | |
parent | 21d7eeafc134b111bb992ee51b02e7ca00d76e23 (diff) | |
download | ffmpeg-c300fe13b6294f6386803feff685b52b3571656c.tar.gz |
avcodec/mlp_parser: export AVCodecContext frame_size
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/mlp_parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |