[FFmpeg-devel] [PATCH] fix ffmpeg.c + -std=gnu99
Måns Rullgård
mans
Sun Jul 13 23:53:09 CEST 2008
Diego Biurrun <diego at biurrun.de> writes:
> Here is a patch to fix $subject.
>
> Diego
>
> Index: ffmpeg.c
> ===================================================================
> --- ffmpeg.c (revision 14215)
> +++ ffmpeg.c (working copy)
> @@ -112,7 +112,7 @@
> static int frame_leftBand = 0;
> static int frame_rightBand = 0;
> 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;
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list