diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-08-28 01:15:56 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-08-28 01:16:55 +0200 |
commit | ccc7120ee717a837d5cdbe4284ae470fe1fbe461 (patch) | |
tree | bea69ecbe800f3eb510a3cf21531c84504df38ae | |
parent | 5c923ce668e5db0009a5db7d1d17c2554f360332 (diff) | |
download | ffmpeg-ccc7120ee717a837d5cdbe4284ae470fe1fbe461.tar.gz |
avcodec/flacdec: use designated initializers for AVClass
-rw-r--r-- | libavcodec/flacdec.c | 8 |
1 files 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 = { |