lavc: use designated initialisers for parsers.
This commit is contained in:
@@ -82,9 +82,8 @@ static int h261_parse(AVCodecParserContext *s,
|
||||
}
|
||||
|
||||
AVCodecParser ff_h261_parser = {
|
||||
{ CODEC_ID_H261 },
|
||||
sizeof(ParseContext),
|
||||
NULL,
|
||||
h261_parse,
|
||||
ff_parse_close,
|
||||
.codec_ids = { CODEC_ID_H261 },
|
||||
.priv_data_size = sizeof(ParseContext),
|
||||
.parser_parse = h261_parse,
|
||||
.parser_close = ff_parse_close,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user