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/dvdsub_parser.c | |
parent | da249637251869fb93bdf58de44e50b74df2ec35 (diff) | |
download | ffmpeg-5511ad14fe1cc871a5a256bf801db09cf1cc35f5.tar.gz |
lavc: use designated initialisers for parsers.
Diffstat (limited to 'libavcodec/dvdsub_parser.c')
-rw-r--r-- | libavcodec/dvdsub_parser.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/dvdsub_parser.c b/libavcodec/dvdsub_parser.c index 5b07de60df..e4c01e05cc 100644 --- a/libavcodec/dvdsub_parser.c +++ b/libavcodec/dvdsub_parser.c @@ -77,9 +77,9 @@ static av_cold void dvdsub_parse_close(AVCodecParserContext *s) } AVCodecParser ff_dvdsub_parser = { - { CODEC_ID_DVD_SUBTITLE }, - sizeof(DVDSubParseContext), - dvdsub_parse_init, - dvdsub_parse, - dvdsub_parse_close, + .codec_ids = { CODEC_ID_DVD_SUBTITLE }, + .priv_data_size = sizeof(DVDSubParseContext), + .parser_init = dvdsub_parse_init, + .parser_parse = dvdsub_parse, + .parser_close = dvdsub_parse_close, }; |