sdl2_frt/src/audio/alsa
Sam Lantinga 35255342cd Fixed bug 4525 - Fix crash in ALSA_HotplugThread caused by bad return value check
Anthony Pesch

Fix snd_device_name_hint return value check

According to the ALSA documentation, snd_device_name_hint returns 0 on
success, otherwise a negative error code. The code previously only
considered -1 to be an error, which let other error codes through
resulting in a segfault when hints (which was NULL) was dereferenced
2019-03-16 18:48:21 -07:00
..
SDL_alsa_audio.c Fixed bug 4525 - Fix crash in ALSA_HotplugThread caused by bad return value check 2019-03-16 18:48:21 -07:00
SDL_alsa_audio.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00