Mercurial > mplayer.hg
changeset 6114:34d5c9a67b94
Patch by Tobias Diedrich <td@informatik.uni-hannover.de>:
- fix segfault due to unitialized struct in ao_nas
author | pl |
---|---|
date | Sat, 18 May 2002 09:15:49 +0000 |
parents | 5e0c8feca2e0 |
children | 52d3be44225b |
files | libao2/ao_nas.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_nas.c Sat May 18 04:33:05 2002 +0000 +++ b/libao2/ao_nas.c Sat May 18 09:15:49 2002 +0000 @@ -320,6 +320,7 @@ 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));