Patch by Tobias Diedrich <td@informatik.uni-hannover.de>:

- fix segfault due to unitialized struct in ao_nas


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6115 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2002-05-18 09:15:49 +00:00
parent 3ec6e4fc6d
commit eb7cbca975
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ static int init(int rate,int channels,int format,int flags)
char *server;
nas_data=malloc(sizeof(struct ao_nas_data));
memset(nas_data, 0, sizeof(struct ao_nas_data));
printf("ao2: %d Hz %d chans %s\n",rate,channels,
audio_out_format_name(format));