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/vp8_parser.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libavcodec/vp8_parser.c') diff --git a/libavcodec/vp8_parser.c b/libavcodec/vp8_parser.c index fbdd0ee5ac..e6d4151bb5 100644 --- a/libavcodec/vp8_parser.c +++ b/libavcodec/vp8_parser.c @@ -33,8 +33,6 @@ static int parse(AVCodecParserContext *s, } AVCodecParser ff_vp8_parser = { - { CODEC_ID_VP8 }, - 0, - NULL, - parse, + .codec_ids = { CODEC_ID_VP8 }, + .parser_parse = parse, }; -- cgit v1.2.3