diff options
Diffstat (limited to 'libavcodec/latm_parser.c')
-rw-r--r-- | libavcodec/latm_parser.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/latm_parser.c b/libavcodec/latm_parser.c index fe39de8e09..d2c0244c02 100644 --- a/libavcodec/latm_parser.c +++ b/libavcodec/latm_parser.c @@ -106,9 +106,8 @@ static int latm_parse(AVCodecParserContext *s1, AVCodecContext *avctx, } AVCodecParser ff_aac_latm_parser = { - { CODEC_ID_AAC_LATM }, - sizeof(LATMParseContext), - NULL, - latm_parse, - ff_parse_close + .codec_ids = { CODEC_ID_AAC_LATM }, + .priv_data_size = sizeof(LATMParseContext), + .parser_parse = latm_parse, + .parser_close = ff_parse_close }; |