X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Flatm_parser.c;h=d2c0244c02641c0bb66302fdb69b221cea9628fd;hb=599b4c6efddaed33b1667c386b34b07729ba732b;hp=fe39de8e092649ba32104307a41b7194751148cd;hpb=2912e87a6c9264d556734e2bf94a99c64cf9b102;p=ffmpeg diff --git a/libavcodec/latm_parser.c b/libavcodec/latm_parser.c index fe39de8e092..d2c0244c026 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 };