mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-27 19:02:13 +08:00
lavc: use designated initialisers for parsers.
This commit is contained in:
@@ -674,9 +674,9 @@ static void flac_parse_close(AVCodecParserContext *c)
|
||||
}
|
||||
|
||||
AVCodecParser ff_flac_parser = {
|
||||
{ CODEC_ID_FLAC },
|
||||
sizeof(FLACParseContext),
|
||||
flac_parse_init,
|
||||
flac_parse,
|
||||
flac_parse_close,
|
||||
.codec_ids = { CODEC_ID_FLAC },
|
||||
.priv_data_size = sizeof(FLACParseContext),
|
||||
.parser_init = flac_parse_init,
|
||||
.parser_parse = flac_parse,
|
||||
.parser_close = flac_parse_close,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user