You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavc: use designated initialisers for parsers.
This commit is contained in:
@@ -185,10 +185,9 @@ static int vc1_split(AVCodecContext *avctx,
|
||||
}
|
||||
|
||||
AVCodecParser ff_vc1_parser = {
|
||||
{ CODEC_ID_VC1 },
|
||||
sizeof(VC1ParseContext),
|
||||
NULL,
|
||||
vc1_parse,
|
||||
ff_parse1_close,
|
||||
vc1_split,
|
||||
.codec_ids = { CODEC_ID_VC1 },
|
||||
.priv_data_size = sizeof(VC1ParseContext),
|
||||
.parser_parse = vc1_parse,
|
||||
.parser_close = ff_parse1_close,
|
||||
.split = vc1_split,
|
||||
};
|
||||
|
Reference in New Issue
Block a user