lavc: use designated initialisers for parsers.

This commit is contained in:
Anton Khirnov 2011-11-02 09:34:41 +01:00
parent da24963725
commit 5511ad14fe
23 changed files with 106 additions and 122 deletions

View file

@ -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
};