[MPlayer-dev-eng] [PATCH] kill a few warnings (more completepatch)
Sycotic Smith
sycotic at linuxmail.org
Thu Sep 11 16:42:23 CEST 2003
> Index: libao2/pl_resample.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libao2/pl_resample.c,v
> retrieving revision 1.13
> diff -u -r1.13 pl_resample.c
> --- libao2/pl_resample.c 21 Mar 2003 16:42:50 -0000 1.13
> +++ libao2/pl_resample.c 11 Sep 2003 13:25:14 -0000
> @@ -90,7 +90,15 @@
> int16_t xs[CH][L*2]; // Circular buffers
> } pl_resample_t;
>
> -static pl_resample_t pl_resample = {NULL,NULL,1,1,1,0,W};
> +static pl_resample_t pl_resample = {
> + .data = NULL,
> + .w = NULL,
> + .dn = 1,
> + .up = 1,
> + .channels = 1,
> + .len = 0,
> + .ws = W, <this line! and many more followed...>
> +};
I'm no expert, but wouldn't the trailing ',' on all the last parms give yet another warning? They always seem to when I forget and put them in...
/S. Smith
--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr
Powered by Outblaze
More information about the MPlayer-dev-eng
mailing list