mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-31 00:47:44 +00:00
lavc: use designated initialisers for parsers.
This commit is contained in:
parent
da24963725
commit
5511ad14fe
23 changed files with 106 additions and 122 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue