diff --git a/libavformat/avidec.c b/libavformat/avidec.c index fea069434e..2ad902af71 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -84,10 +84,10 @@ static const AVOption options[] = { }; static const AVClass demuxer_class = { - "AVI demuxer", - av_default_item_name, - options, - LIBAVUTIL_VERSION_INT, + .class_name = "AVI demuxer", + .item_name = av_default_item_name, + .option = options, + .version = LIBAVUTIL_VERSION_INT, };