summaryrefslogtreecommitdiff
path: root/libavcodec/libopencore-amr.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/libopencore-amr.c
parent98ea98069b40c34aa7b762096f8f380012a7dd84 (diff)
Convert all AVClass struct declarations to designated initializers.
Diffstat (limited to 'libavcodec/libopencore-amr.c')
-rw-r--r--libavcodec/libopencore-amr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index 27ab7d202f..8200f6719c 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -184,7 +184,10 @@ static const AVOption options[] = {
};
static const AVClass class = {
- "libopencore_amrnb", av_default_item_name, options, LIBAVUTIL_VERSION_INT
+ .class_name = "libopencore_amrnb",
+ .item_name = av_default_item_name,
+ .option = options,
+ .version = LIBAVUTIL_VERSION_INT,
};
static av_cold int amr_nb_encode_init(AVCodecContext *avctx)