summaryrefslogtreecommitdiff
path: root/libavcodec/libopencore-amr.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-15 00:04:48 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-05 20:16:38 +0200
commit8dd52d82029febc3effd981c3107846904559c6d (patch)
treeb55a91a31d90d463a9373dcabae504afcd7a2f50 /libavcodec/libopencore-amr.c
parentfce1e43410bdc032c4cf2b1c66166a9ed99cc8f1 (diff)
opencore-amr: Add missing initializer braces to shut up gcc warning.
This fixes the warning: libavcodec/libopencore-amr.c:91: warning: missing braces around initializer
Diffstat (limited to 'libavcodec/libopencore-amr.c')
-rw-r--r--libavcodec/libopencore-amr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index cf8bdbbcb8..edf372ffad 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -88,7 +88,7 @@ typedef struct AMRContext {
} AMRContext;
static const AVOption options[] = {
- { "dtx", "Allow DTX (generate comfort noise)", offsetof(AMRContext, enc_dtx), FF_OPT_TYPE_INT, 0, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
+ { "dtx", "Allow DTX (generate comfort noise)", offsetof(AMRContext, enc_dtx), FF_OPT_TYPE_INT, { 0 }, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
{ NULL }
};