summaryrefslogtreecommitdiffstats
path: root/libavcodec/libilbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libilbc.c')
-rw-r--r--libavcodec/libilbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c
index 703e1cd..fe1fa39 100644
--- a/libavcodec/libilbc.c
+++ b/libavcodec/libilbc.c
@@ -46,7 +46,7 @@ typedef struct ILBCDecContext {
} ILBCDecContext;
static const AVOption ilbc_dec_options[] = {
- { "enhance", "Enhance the decoded audio (adds delay)", offsetof(ILBCDecContext, enhance), AV_OPT_TYPE_INT, { 0 }, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM },
+ { "enhance", "Enhance the decoded audio (adds delay)", offsetof(ILBCDecContext, enhance), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM },
{ NULL }
};
@@ -126,7 +126,7 @@ typedef struct ILBCEncContext {
} ILBCEncContext;
static const AVOption ilbc_enc_options[] = {
- { "mode", "iLBC mode (20 or 30 ms frames)", offsetof(ILBCEncContext, mode), AV_OPT_TYPE_INT, { 20 }, 20, 30, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
+ { "mode", "iLBC mode (20 or 30 ms frames)", offsetof(ILBCEncContext, mode), AV_OPT_TYPE_INT, { .i64 = 20 }, 20, 30, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
{ NULL }
};
OpenPOWER on IntegriCloud