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/vc1_parser.c | |
parent | da249637251869fb93bdf58de44e50b74df2ec35 (diff) | |
download | ffmpeg-5511ad14fe1cc871a5a256bf801db09cf1cc35f5.tar.gz |
lavc: use designated initialisers for parsers.
Diffstat (limited to 'libavcodec/vc1_parser.c')
-rw-r--r-- | libavcodec/vc1_parser.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c index c4c15b326d..c660c9cd0d 100644 --- a/libavcodec/vc1_parser.c +++ b/libavcodec/vc1_parser.c @@ -185,10 +185,9 @@ static int vc1_split(AVCodecContext *avctx, } AVCodecParser ff_vc1_parser = { - { CODEC_ID_VC1 }, - sizeof(VC1ParseContext), - NULL, - vc1_parse, - ff_parse1_close, - vc1_split, + .codec_ids = { CODEC_ID_VC1 }, + .priv_data_size = sizeof(VC1ParseContext), + .parser_parse = vc1_parse, + .parser_close = ff_parse1_close, + .split = vc1_split, }; |