From 5511ad14fe1cc871a5a256bf801db09cf1cc35f5 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 2 Nov 2011 09:34:41 +0100 Subject: lavc: use designated initialisers for parsers. --- libavcodec/latm_parser.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libavcodec/latm_parser.c') 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 }; -- cgit v1.2.3