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: ...@@ -115,9 +115,8 @@ flush:
} }
AVCodecParser ff_png_parser = { AVCodecParser ff_png_parser = {
{ CODEC_ID_PNG }, .codec_ids = { CODEC_ID_PNG },
sizeof(PNGParseContext), .priv_data_size = sizeof(PNGParseContext),
NULL, .parser_parse = png_parse,
png_parse, .parser_close = ff_parse_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