[Mplayer-cvslog] CVS: main/libao2 ao_nas.c,1.4,1.5

Felix Buenemann atmosfear at users.sourceforge.net
Tue May 21 00:46:24 CEST 2002


On Saturday 18 May 2002 11:16, pl wrote:
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libao2/ao_nas.c,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -u -r1.4 -r1.5
> --- ao_nas.c    22 Apr 2002 22:33:06 -0000      1.4
> +++ ao_nas.c    18 May 2002 09:15:49 -0000      1.5
> @@ -320,6 +320,7 @@
>         char *server;
>  
>         nas_data=malloc(sizeof(struct ao_nas_data));
> +       memset(nas_data, 0, sizeof(struct ao_nas_data));
I wonder why constructs like these are used all over the code, is calloc 
nonstandard?
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-cvslog mailing list