aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aac_parser.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-11-02 09:34:41 +0100
committerAnton Khirnov <anton@khirnov.net>2011-11-02 10:03:43 +0100
commit5511ad14fe1cc871a5a256bf801db09cf1cc35f5 (patch)
treeb332a1274b866b270f1474552f3205ac1c507219 /libavcodec/aac_parser.c
parentda249637251869fb93bdf58de44e50b74df2ec35 (diff)
downloadffmpeg-5511ad14fe1cc871a5a256bf801db09cf1cc35f5.tar.gz
lavc: use designated initialisers for parsers.
Diffstat (limited to 'libavcodec/aac_parser.c')
-rw-r--r--libavcodec/aac_parser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/aac_parser.c b/libavcodec/aac_parser.c
index ca016d1b89..f0914e60c0 100644
--- a/libavcodec/aac_parser.c
+++ b/libavcodec/aac_parser.c
@@ -61,9 +61,9 @@ static av_cold int aac_parse_init(AVCodecParserContext *s1)
AVCodecParser ff_aac_parser = {
- { CODEC_ID_AAC },
- sizeof(AACAC3ParseContext),
- aac_parse_init,
- ff_aac_ac3_parse,
- ff_parse_close,
+ .codec_ids = { CODEC_ID_AAC },
+ .priv_data_size = sizeof(AACAC3ParseContext),
+ .parser_init = aac_parse_init,
+ .parser_parse = ff_aac_ac3_parse,
+ .parser_close = ff_parse_close,
};