Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-08-28 02:15:56 +0300
committerPaul B Mahol <onemda@gmail.com>2020-08-28 02:16:55 +0300
commitccc7120ee717a837d5cdbe4284ae470fe1fbe461 (patch)
treebea69ecbe800f3eb510a3cf21531c84504df38ae
parent5c923ce668e5db0009a5db7d1d17c2554f360332 (diff)
avcodec/flacdec: use designated initializers for AVClass
-rw-r--r--libavcodec/flacdec.c8
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 = {