Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-08-10 23:02:32 +0400
committerClément Bœsch <ubitux@gmail.com>2011-08-10 23:02:32 +0400
commitdf2039f5739c4b1de869d26f9636ef38102db784 (patch)
tree3e25b7be56e7e863da966d45d137d6d9dfe3d9c1 /libavformat
parentafd7e46bd485a335595ef66a6568c59581ed0d0a (diff)
avidec: add missing initializer braces to shut up gcc warning.
This fixes the warning: libavformat/avidec.c:81:5: warning: missing braces around initializer [-Wmissing-braces]
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index d454ce56f9..569d59216e 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -78,7 +78,7 @@ typedef struct {
static const AVOption options[] = {
- { "use_odml", "use odml index", offsetof(AVIContext, use_odml), FF_OPT_TYPE_INT, 1, -1, 1, AV_OPT_FLAG_DECODING_PARAM},
+ { "use_odml", "use odml index", offsetof(AVIContext, use_odml), FF_OPT_TYPE_INT, {.dbl = 1}, -1, 1, AV_OPT_FLAG_DECODING_PARAM},
{ NULL },
};