]> git.sesse.net Git - vlc/blobdiff - projects/activex/vlccontrol.cpp
libvlc_audio_*: remove useless exception parameters
[vlc] / projects / activex / vlccontrol.cpp
index 266b46ce949b91002e4b40dcae37ed591f0b9552..8e7f135cd45a297d5ef093880b6092d989fb96c4 100644 (file)
@@ -349,13 +349,7 @@ STDMETHODIMP VLCControl::toggleMute(void)
     libvlc_instance_t* p_libvlc;
     HRESULT result = _p_instance->getVLC(&p_libvlc);
     if( SUCCEEDED(result) )
-    {
-        libvlc_exception_t ex;
-        libvlc_exception_init(&ex);
-
-        libvlc_audio_toggle_mute(p_libvlc, &ex);
-        result = exception_bridge(&ex);
-    }
+        libvlc_audio_toggle_mute(p_libvlc);
     return result;
 };