lavc: use designated initialisers for parsers.
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user