Commit ddece75b authored by Paul B Mahol's avatar Paul B Mahol

png_parser: use designated initializers

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment