Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-11-02 12:34:41 +0400
committerAnton Khirnov <anton@khirnov.net>2011-11-02 13:03:43 +0400
commit5511ad14fe1cc871a5a256bf801db09cf1cc35f5 (patch)
treeb332a1274b866b270f1474552f3205ac1c507219 /libavcodec/dnxhd_parser.c
parentda249637251869fb93bdf58de44e50b74df2ec35 (diff)
lavc: use designated initialisers for parsers.
Diffstat (limited to 'libavcodec/dnxhd_parser.c')
-rw-r--r--libavcodec/dnxhd_parser.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/dnxhd_parser.c b/libavcodec/dnxhd_parser.c
index 44ea8f06f5..870fed4a11 100644
--- a/libavcodec/dnxhd_parser.c
+++ b/libavcodec/dnxhd_parser.c
@@ -87,9 +87,8 @@ static int dnxhd_parse(AVCodecParserContext *s,
}
AVCodecParser ff_dnxhd_parser = {
- { CODEC_ID_DNXHD },
- sizeof(ParseContext),
- NULL,
- dnxhd_parse,
- ff_parse_close,
+ .codec_ids = { CODEC_ID_DNXHD },
+ .priv_data_size = sizeof(ParseContext),
+ .parser_parse = dnxhd_parse,
+ .parser_close = ff_parse_close,
};