Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prevent crash when audio does not initialise correctly.

  • Loading branch information...
commit 9ce75e331e5e924819e373f438cbbc58fbb3bffa 1 parent e2a5367
@hydra hydra authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp
View
1  xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp
@@ -595,6 +595,7 @@ void CAESinkDirectSound::EnumerateDevicesEx(AEDeviceInfoList &deviceInfoList)
if (FAILED(hr))
{
CLog::Log(LOGERROR, __FUNCTION__": Activate device failed (%s)", WASAPIErrToStr(hr));
+ goto failed;
}
//hr = pClient->GetMixFormat(&pwfxex);
Please sign in to comment.
Something went wrong with that request. Please try again.