[FFmpeg-cvslog] avcodec/mlp_parser: export AVCodecContext frame_size
James Almer
git at videolan.org
Sun Aug 25 05:15:44 EEST 2019
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Aug 24 22:41:52 2019 -0300| [c300fe13b6294f6386803feff685b52b3571656c] | committer: James Almer
avcodec/mlp_parser: export AVCodecContext frame_size
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c300fe13b6294f6386803feff685b52b3571656c
---
libavcodec/mlp_parser.c | 1 +
1 file changed, 1 insertion(+)
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) {
More information about the ffmpeg-cvslog
mailing list