On Wed, Jun 01, 2011 at 06:48:46AM -0700, Ronald S. Bultje wrote: > > On Wed, Jun 1, 2011 at 2:57 AM, Diego Biurrun <[email protected]> wrote: > > This fixes the warning: > > libavformat/options.c:62: warning: missing braces around initializer > > libavformat/options.c:62: warning: (near initialization for > > ‘options[17].default_val’) > > > > --- a/libavformat/options.c > > +++ b/libavformat/options.c > > @@ -59,7 +59,7 @@ static const AVOption options[]={ > > {"max_delay", "maximum muxing or demuxing delay in microseconds", > > OFFSET(max_delay), FF_OPT_TYPE_INT, {.dbl = DEFAULT }, 0, INT_MAX, E|D}, > > -{"fpsprobesize", "number of frames used to probe fps", > > OFFSET(fps_probe_size), FF_OPT_TYPE_INT, -1, -1, INT_MAX-1, D}, > > +{"fpsprobesize", "number of frames used to probe fps", > > OFFSET(fps_probe_size), FF_OPT_TYPE_INT, { -1 }, -1, INT_MAX-1, D}, > > { .dbl = -1 }? That's fine with me.
I have queued that version. Regarding the reformatting or not of that table - when you guys have decided on the color, I will gladly paint the bikeshed to your taste. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
