提交 ddece75b 编写于 作者: P Paul B Mahol

png_parser: use designated initializers

Signed-off-by: NPaul B Mahol <onemda@gmail.com>
上级 79c39a98
......@@ -115,9 +115,8 @@ flush:
}
AVCodecParser ff_png_parser = {
{ CODEC_ID_PNG },
sizeof(PNGParseContext),
NULL,
png_parse,
ff_parse_close,
.codec_ids = { CODEC_ID_PNG },
.priv_data_size = sizeof(PNGParseContext),
.parser_parse = png_parse,
.parser_close = ff_parse_close,
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册