From ccc7120ee717a837d5cdbe4284ae470fe1fbe461 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 28 Aug 2020 01:15:56 +0200 Subject: [PATCH] avcodec/flacdec: use designated initializers for AVClass --- libavcodec/flacdec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index fb27e8e6d4..d1cf82b541 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -654,10 +654,10 @@ static const AVOption options[] = { }; static const AVClass flac_decoder_class = { - "FLAC decoder", - av_default_item_name, - options, - LIBAVUTIL_VERSION_INT, + .class_name = "FLAC decoder", + .item_name = av_default_item_name, + .option = options, + .version = LIBAVUTIL_VERSION_INT, }; AVCodec ff_flac_decoder = {