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:
df2039f
)
oggenc: add missing initializer braces to shut up gcc warning.
author
Clément Bœsch
<ubitux@gmail.com>
Wed, 10 Aug 2011 19:03:39 +0000
(21:03 +0200)
committer
Clément Bœsch
<ubitux@gmail.com>
Wed, 10 Aug 2011 19:03:39 +0000
(21:03 +0200)
This fixes the warning:
libavformat/oggenc.c:75:7: warning: missing braces around initializer [-Wmissing-braces]
libavformat/oggenc.c
patch
|
blob
|
history
diff --git
a/libavformat/oggenc.c
b/libavformat/oggenc.c
index
89f2459
..
73b311d
100644
(file)
--- a/
libavformat/oggenc.c
+++ b/
libavformat/oggenc.c
@@
-72,7
+72,7
@@
typedef struct {
static const AVOption options[] = {
{ "oggpagesize", "Set preferred Ogg page size.",
- offsetof(OGGContext, pref_size), FF_OPT_TYPE_INT,
0
, 0, MAX_PAGE_SIZE, AV_OPT_FLAG_ENCODING_PARAM},
+ offsetof(OGGContext, pref_size), FF_OPT_TYPE_INT,
{.dbl = 0}
, 0, MAX_PAGE_SIZE, AV_OPT_FLAG_ENCODING_PARAM},
{ NULL },
};