png_parser: use designated initializers

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2012-06-14 17:04:00 +00:00
parent 79c39a98cf
commit ddece75bc8
1 changed files with 4 additions and 5 deletions

View File

@ -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,
};