Avoid crash if snd_pcm_open fails.
This commit is contained in:
parent
bbc25aaa11
commit
270d1b8ad7
|
@ -400,7 +400,7 @@ else \
|
||||||
*/
|
*/
|
||||||
LONG ALSA_WaveInit(void)
|
LONG ALSA_WaveInit(void)
|
||||||
{
|
{
|
||||||
snd_pcm_t* h;
|
snd_pcm_t* h = NULL;
|
||||||
snd_pcm_info_t * info;
|
snd_pcm_info_t * info;
|
||||||
snd_pcm_hw_params_t * hw_params;
|
snd_pcm_hw_params_t * hw_params;
|
||||||
WINE_WAVEOUT* wwo;
|
WINE_WAVEOUT* wwo;
|
||||||
|
|
Loading…
Reference in New Issue