Commit 1251d856 authored by David Fuhrmann's avatar David Fuhrmann Committed by Carola Nitz

equalizer: Fix compilation for recent equalizer change

_instance is not available.

(cherry picked from commit bd2c73e6)
parent debabb4d
......@@ -983,7 +983,7 @@ static void HandleMediaPlayerSnapshot(const libvlc_event_t * event, void * self)
{
if (!_equalizerInstance) {
if (!(_equalizerInstance = libvlc_audio_equalizer_new())) {
NSAssert(_instance, @"equalizer failed to initialize");
NSAssert(_equalizerInstance, @"equalizer failed to initialize");
return;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment