From 5511ad14fe1cc871a5a256bf801db09cf1cc35f5 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 2 Nov 2011 09:34:41 +0100 Subject: lavc: use designated initialisers for parsers. --- libavcodec/h264_parser.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libavcodec/h264_parser.c') diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 52ff88b3a4..826c17a0f1 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -334,10 +334,10 @@ static int init(AVCodecParserContext *s) } AVCodecParser ff_h264_parser = { - { CODEC_ID_H264 }, - sizeof(H264Context), - init, - h264_parse, - close, - h264_split, + .codec_ids = { CODEC_ID_H264 }, + .priv_data_size = sizeof(H264Context), + .parser_init = init, + .parser_parse = h264_parse, + .parser_close = close, + .split = h264_split, }; -- cgit v1.2.1