diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-08-28 02:15:56 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-08-28 02:16:55 +0300 |
commit | ccc7120ee717a837d5cdbe4284ae470fe1fbe461 (patch) | |
tree | bea69ecbe800f3eb510a3cf21531c84504df38ae /libavcodec | |
parent | 5c923ce668e5db0009a5db7d1d17c2554f360332 (diff) |
avcodec/flacdec: use designated initializers for AVClass
Diffstat (limited to 'libavcodec')
-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 = { |