projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fce1e43
)
opencore-amr: Add missing initializer braces to shut up gcc warning.
author
Diego Biurrun
<diego@biurrun.de>
Tue, 14 Jun 2011 22:04:48 +0000
(
00:04
+0200)
committer
Diego Biurrun
<diego@biurrun.de>
Tue, 5 Jul 2011 18:16:38 +0000
(20:16 +0200)
This fixes the warning:
libavcodec/libopencore-amr.c:91: warning: missing braces around initializer
libavcodec/libopencore-amr.c
patch
|
blob
|
history
diff --git
a/libavcodec/libopencore-amr.c
b/libavcodec/libopencore-amr.c
index cf8bdbbcb8f8fe13fc7d66b37a4ed99b4a0b26fa..edf372ffad944d26cc8360f244725fc908b2c989 100644
(file)
--- 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 }
};