Browse Source

oggenc: add missing initializer braces to shut up gcc warning.

This fixes the warning:
    libavformat/oggenc.c:75:7: warning: missing braces around initializer [-Wmissing-braces]
tags/n0.9
Clément Bœsch 14 years ago
parent
commit
9acffed9e0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/oggenc.c

+ 1
- 1
libavformat/oggenc.c View File

@@ -72,7 +72,7 @@ typedef struct {


static const AVOption options[] = { static const AVOption options[] = {
{ "oggpagesize", "Set preferred Ogg page size.", { "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 }, { NULL },
}; };




Loading…
Cancel
Save