]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/mlp_parser: export AVCodecContext frame_size
authorJames Almer <jamrial@gmail.com>
Sun, 25 Aug 2019 01:41:52 +0000 (22:41 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 25 Aug 2019 01:41:52 +0000 (22:41 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/mlp_parser.c

index 9a076f6a7f467bd5d6d4424400137c72a25a07cc..b5d3ff7226a10efd574c77fee0c48b17d7efa249 100644 (file)
@@ -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) {