Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CoreAE: fix null dereference if no mixer map was created

  • Loading branch information...
commit 64c08fd7845459375eafaf9e8c9cd1feb8b10062 1 parent 7538c62
Joakim Plate elupus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioGraph.cpp
2  xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioGraph.cpp
@@ -104,7 +104,7 @@ bool CCoreAudioGraph::Open(ICoreAudioSource *pSource, AEAudioFormat &format,
delete m_mixMap;
m_mixMap = CCoreAudioMixMap::CreateMixMap(m_audioUnit, format, layoutTag);
- if (m_mixMap || m_mixMap->IsValid())
+ if (m_mixMap && m_mixMap->IsValid())
// maximum input channel ber input bus
//fmt.mChannelsPerFrame = MAXIMUM_MIXER_CHANNELS;
Please sign in to comment.
Something went wrong with that request. Please try again.