From 420990db30e1d0ad36dd0cc6da077b1248754ec3 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 19 Jun 2012 20:43:28 +0000 Subject: [PATCH] libilbc: use designated initializers for AVClass Signed-off-by: Paul B Mahol --- libavcodec/libilbc.c | 10 ++++++++-- 1 file 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)