Commit f2c8101b authored by Rafaël Carré's avatar Rafaël Carré

mozilla: fix compilation after [1979486d]

parent f556fb16
......@@ -218,8 +218,7 @@ LibvlcAudioNPObject::getProperty(int index, NPVariant &result)
{
case ID_audio_mute:
{
bool muted = libvlc_audio_get_mute(p_plugin->getVLC(), &ex);
RETURN_ON_EXCEPTION(this,ex);
bool muted = libvlc_audio_get_mute(p_plugin->getVLC());
BOOLEAN_TO_NPVARIANT(muted, result);
return INVOKERESULT_NO_ERROR;
}
......
......@@ -855,8 +855,7 @@ static void ControlHandler( Widget w, XtPointer closure, XEvent *event )
case clicked_Mute:
case clicked_Unmute:
{
libvlc_audio_toggle_mute( p_plugin->getVLC(), &ex );
libvlc_exception_clear( &ex );
libvlc_audio_toggle_mute( p_plugin->getVLC() );
}
break;
......
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