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/mpeg4video_parser.c | |
parent | da249637251869fb93bdf58de44e50b74df2ec35 (diff) | |
download | ffmpeg-5511ad14fe1cc871a5a256bf801db09cf1cc35f5.tar.gz |
lavc: use designated initialisers for parsers.
Diffstat (limited to 'libavcodec/mpeg4video_parser.c')
-rw-r--r-- | libavcodec/mpeg4video_parser.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/mpeg4video_parser.c b/libavcodec/mpeg4video_parser.c index 2e498d100c..162bc1d03e 100644 --- a/libavcodec/mpeg4video_parser.c +++ b/libavcodec/mpeg4video_parser.c @@ -130,10 +130,10 @@ static int mpeg4video_parse(AVCodecParserContext *s, AVCodecParser ff_mpeg4video_parser = { - { CODEC_ID_MPEG4 }, - sizeof(ParseContext1), - mpeg4video_parse_init, - mpeg4video_parse, - ff_parse1_close, - ff_mpeg4video_split, + .codec_ids = { CODEC_ID_MPEG4 }, + .priv_data_size = sizeof(ParseContext1), + .parser_init = mpeg4video_parse_init, + .parser_parse = mpeg4video_parse, + .parser_close = ff_parse1_close, + .split = ff_mpeg4video_split, }; |