summaryrefslogtreecommitdiff
path: root/libavcodec/h264_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/h264_parser.c
parentda249637251869fb93bdf58de44e50b74df2ec35 (diff)
lavc: use designated initialisers for parsers.
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index 52ff88b3a4..826c17a0f1 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -334,10 +334,10 @@ static int init(AVCodecParserContext *s)
}
AVCodecParser ff_h264_parser = {
- { CODEC_ID_H264 },
- sizeof(H264Context),
- init,
- h264_parse,
- close,
- h264_split,
+ .codec_ids = { CODEC_ID_H264 },
+ .priv_data_size = sizeof(H264Context),
+ .parser_init = init,
+ .parser_parse = h264_parse,
+ .parser_close = close,
+ .split = h264_split,
};