Browse Source

png_parser: use designated initializers

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n1.0
Paul B Mahol 13 years ago
parent
commit
ddece75bc8
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      libavcodec/png_parser.c

+ 4
- 5
libavcodec/png_parser.c 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,
};

Loading…
Cancel
Save