summaryrefslogtreecommitdiff
path: root/libavcodec/libilbc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-19 20:43:28 +0000
committerPaul B Mahol <onemda@gmail.com>2012-06-19 20:43:28 +0000
commit420990db30e1d0ad36dd0cc6da077b1248754ec3 (patch)
tree4db2f59163d65fabe69ab70dbd464347be057d3b /libavcodec/libilbc.c
parent10952e060281e4f725c4f925db55b6ea675cc034 (diff)
libilbc: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/libilbc.c')
-rw-r--r--libavcodec/libilbc.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c
index 0893c6c794..b6e8b3a5de 100644
--- a/libavcodec/libilbc.c
+++ b/libavcodec/libilbc.c
@@ -50,7 +50,10 @@ static const AVOption ilbc_dec_options[] = {
};
static const AVClass ilbc_dec_class = {
- "libilbc", av_default_item_name, ilbc_dec_options, LIBAVUTIL_VERSION_INT
+ .class_name = "libilbc",
+ .item_name = av_default_item_name,
+ .option = ilbc_dec_options,
+ .version = LIBAVUTIL_VERSION_INT.
};
static av_cold int ilbc_decode_init(AVCodecContext *avctx)
@@ -127,7 +130,10 @@ static const AVOption ilbc_enc_options[] = {
};
static const AVClass ilbc_enc_class = {
- "libilbc", av_default_item_name, ilbc_enc_options, LIBAVUTIL_VERSION_INT
+ .class_name = "libilbc",
+ .item_name = av_default_item_name,
+ .option = ilbc_enc_options,
+ .version = LIBAVUTIL_VERSION_INT,
};
static av_cold int ilbc_encode_init(AVCodecContext *avctx)