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/vp3_parser.c | |
parent | da249637251869fb93bdf58de44e50b74df2ec35 (diff) | |
download | ffmpeg-5511ad14fe1cc871a5a256bf801db09cf1cc35f5.tar.gz |
lavc: use designated initialisers for parsers.
Diffstat (limited to 'libavcodec/vp3_parser.c')
-rw-r--r-- | libavcodec/vp3_parser.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/vp3_parser.c b/libavcodec/vp3_parser.c index cfe6b3f2a3..1d70408cc7 100644 --- a/libavcodec/vp3_parser.c +++ b/libavcodec/vp3_parser.c @@ -36,9 +36,7 @@ static int parse(AVCodecParserContext *s, } AVCodecParser ff_vp3_parser = { - { CODEC_ID_THEORA, CODEC_ID_VP3, - CODEC_ID_VP6, CODEC_ID_VP6F, CODEC_ID_VP6A }, - 0, - NULL, - parse, + .codec_ids = { CODEC_ID_THEORA, CODEC_ID_VP3, CODEC_ID_VP6, + CODEC_ID_VP6F, CODEC_ID_VP6A }, + .parser_parse = parse, }; |