[FFmpeg-cvslog] libvo-amrwbenc: Add braces to shut up gcc warning.
Diego Biurrun
git at videolan.org
Fri Jul 8 01:17:03 CEST 2011
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Jul 7 01:31:00 2011 +0200| [b0058bda78bcbb6a887e5099b85ac3bc2e23bb57] | committer: Diego Biurrun
libvo-amrwbenc: Add braces to shut up gcc warning.
libavcodec/libvo-amrwbenc.c:37:5: warning: missing braces around initializer
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b0058bda78bcbb6a887e5099b85ac3bc2e23bb57
---
libavcodec/libvo-amrwbenc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/libvo-amrwbenc.c b/libavcodec/libvo-amrwbenc.c
index b3615ed..201a74e 100644
--- a/libavcodec/libvo-amrwbenc.c
+++ b/libavcodec/libvo-amrwbenc.c
@@ -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 }
};
More information about the ffmpeg-cvslog
mailing list