lavc: use designated initialisers for parsers.
This commit is contained in:
@@ -100,9 +100,8 @@ static int mpegaudio_parse(AVCodecParserContext *s1,
|
||||
|
||||
|
||||
AVCodecParser ff_mpegaudio_parser = {
|
||||
{ CODEC_ID_MP1, CODEC_ID_MP2, CODEC_ID_MP3 },
|
||||
sizeof(MpegAudioParseContext),
|
||||
NULL,
|
||||
mpegaudio_parse,
|
||||
ff_parse_close,
|
||||
.codec_ids = { CODEC_ID_MP1, CODEC_ID_MP2, CODEC_ID_MP3 },
|
||||
.priv_data_size = sizeof(MpegAudioParseContext),
|
||||
.parser_parse = mpegaudio_parse,
|
||||
.parser_close = ff_parse_close,
|
||||
};
|
||||
|
Reference in New Issue
Block a user