mirror of https://git.ffmpeg.org/ffmpeg.git
png_parser: use designated initializers
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
79c39a98cf
commit
ddece75bc8
|
@ -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,
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue