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 9a076f6..b5d3ff7 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) {