git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afd7e46
)
avidec: add missing initializer braces to shut up gcc warning.
author
Clément Bœsch
<ubitux@gmail.com>
Wed, 10 Aug 2011 19:02:32 +0000
(21:02 +0200)
committer
Clément Bœsch
<ubitux@gmail.com>
Wed, 10 Aug 2011 19:02:32 +0000
(21:02 +0200)
This fixes the warning:
libavformat/avidec.c:81:5: warning: missing braces around initializer [-Wmissing-braces]
libavformat/avidec.c
patch
|
blob
|
history
diff --git
a/libavformat/avidec.c
b/libavformat/avidec.c
index
d454ce5
..
569d592
100644
(file)
--- 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 },
};