diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-02 09:34:41 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-02 10:03:43 +0100 |
commit | 5511ad14fe1cc871a5a256bf801db09cf1cc35f5 (patch) | |
tree | b332a1274b866b270f1474552f3205ac1c507219 /libavcodec/rv34_parser.c | |
parent | da249637251869fb93bdf58de44e50b74df2ec35 (diff) | |
download | ffmpeg-5511ad14fe1cc871a5a256bf801db09cf1cc35f5.tar.gz |
lavc: use designated initialisers for parsers.
Diffstat (limited to 'libavcodec/rv34_parser.c')
-rw-r--r-- | libavcodec/rv34_parser.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libavcodec/rv34_parser.c b/libavcodec/rv34_parser.c index ce8604345e..4c1d2e396e 100644 --- a/libavcodec/rv34_parser.c +++ b/libavcodec/rv34_parser.c @@ -78,18 +78,16 @@ static int rv34_parse(AVCodecParserContext *s, #ifdef CONFIG_RV30_PARSER AVCodecParser ff_rv30_parser = { - { CODEC_ID_RV30 }, - sizeof(RV34ParseContext), - NULL, - rv34_parse, + .codec_ids = { CODEC_ID_RV30 }, + .priv_data_size = sizeof(RV34ParseContext), + .parser_parse = rv34_parse, }; #endif #ifdef CONFIG_RV40_PARSER AVCodecParser ff_rv40_parser = { - { CODEC_ID_RV40 }, - sizeof(RV34ParseContext), - NULL, - rv34_parse, + .codec_ids = { CODEC_ID_RV40 }, + .priv_data_size = sizeof(RV34ParseContext), + .parser_parse = rv34_parse, }; #endif |