mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 09:27: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
|
@ -174,10 +174,9 @@ static int mpegvideo_split(AVCodecContext *avctx,
|
|||
}
|
||||
|
||||
AVCodecParser ff_mpegvideo_parser = {
|
||||
{ CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO },
|
||||
sizeof(ParseContext1),
|
||||
NULL,
|
||||
mpegvideo_parse,
|
||||
ff_parse1_close,
|
||||
mpegvideo_split,
|
||||
.codec_ids = { CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO },
|
||||
.priv_data_size = sizeof(ParseContext1),
|
||||
.parser_parse = mpegvideo_parse,
|
||||
.parser_close = ff_parse1_close,
|
||||
.split = mpegvideo_split,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue