From ef8bea9107f996a6552747cf8136e6d1b8f9396d Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 19 Jun 2012 13:57:06 +0000 Subject: [PATCH] mov: use designated initializers for AVClass Signed-off-by: Paul B Mahol --- libavformat/mov.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 5eeb3571f5..9548f215f3 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3152,8 +3152,13 @@ static const AVOption options[] = { 0, 1, AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_DECODING_PARAM}, {NULL} }; -static const AVClass class = {"mov,mp4,m4a,3gp,3g2,mj2", av_default_item_name, options, LIBAVUTIL_VERSION_INT}; +static const AVClass class = { + .class_name = "mov,mp4,m4a,3gp,3g2,mj2", + .item_name = av_default_item_name, + .option = options, + .version = LIBAVUTIL_VERSION_INT, +}; AVInputFormat ff_mov_demuxer = { .name = "mov,mp4,m4a,3gp,3g2,mj2",