OSDN Git Service

libvo-amrwbenc: Add braces to shut up gcc warning.
authorDiego Biurrun <diego@biurrun.de>
Wed, 6 Jul 2011 23:31:00 +0000 (01:31 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 7 Jul 2011 07:22:12 +0000 (09:22 +0200)
libavcodec/libvo-amrwbenc.c:37:5: warning: missing braces around initializer

libavcodec/libvo-amrwbenc.c

index b3615ed..201a74e 100644 (file)
@@ -34,7 +34,7 @@ typedef struct AMRWBContext {
 } AMRWBContext;
 
 static const AVOption options[] = {
-    { "dtx", "Allow DTX (generate comfort noise)", offsetof(AMRWBContext, allow_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(AMRWBContext, allow_dtx), FF_OPT_TYPE_INT, { 0 }, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
     { NULL }
 };