summaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc_fixed.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-06-10 16:45:06 +0200
committerDiego Biurrun <diego@biurrun.de>2017-06-12 11:01:10 +0200
commit97cfe1d8bd1968143e2ba9aa46ebe9504a835e24 (patch)
treee68f3a7dd9aa9b56cf6920890fe2f4caec6b98cd /libavcodec/ac3enc_fixed.c
parent98ea98069b40c34aa7b762096f8f380012a7dd84 (diff)
downloadffmpeg-streaming-97cfe1d8bd1968143e2ba9aa46ebe9504a835e24.zip
ffmpeg-streaming-97cfe1d8bd1968143e2ba9aa46ebe9504a835e24.tar.gz
Convert all AVClass struct declarations to designated initializers.
Diffstat (limited to 'libavcodec/ac3enc_fixed.c')
-rw-r--r--libavcodec/ac3enc_fixed.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c
index cb1c58d..a4ab5df 100644
--- a/libavcodec/ac3enc_fixed.c
+++ b/libavcodec/ac3enc_fixed.c
@@ -35,8 +35,13 @@
#define AC3ENC_TYPE AC3ENC_TYPE_AC3_FIXED
#include "ac3enc_opts_template.c"
-static const AVClass ac3enc_class = { "Fixed-Point AC-3 Encoder", av_default_item_name,
- ac3_options, LIBAVUTIL_VERSION_INT };
+
+static const AVClass ac3enc_class = {
+ .class_name = "Fixed-Point AC-3 Encoder",
+ .item_name = av_default_item_name,
+ .option = ac3_options,
+ .version = LIBAVUTIL_VERSION_INT,
+};
/*
* Normalize the input samples to use the maximum available precision.
OpenPOWER on IntegriCloud