[FFmpeg-devel] [PATCH] fix ffmpeg.c + -std=gnu99

Diego Biurrun diego
Sun Jul 13 23:59:35 CEST 2008


On Sun, Jul 13, 2008 at 10:53:09PM +0100, M?ns Rullg?rd wrote:
> Diego Biurrun <diego at biurrun.de> writes:
> 
> > Here is a patch to fix $subject.
> >
> > --- ffmpeg.c	(revision 14215)
> > +++ ffmpeg.c	(working copy)
> > @@ -112,7 +112,7 @@
> >  static int max_frames[4] = {INT_MAX, INT_MAX, INT_MAX, INT_MAX};
> > -static AVRational frame_rate = (AVRational) {0,0};
> > +static AVRational frame_rate = {0,0};
> 
> Even better:
> 
> +static AVRational frame_rate;

Committed.

Diego




More information about the ffmpeg-devel mailing list