Commit 479c4008 authored by Jean-Paul Saman's avatar Jean-Paul Saman

mozilla: cleanup

parent 4d89b290
...@@ -531,10 +531,7 @@ LibvlcInputNPObject::setProperty(int index, const NPVariant &value) ...@@ -531,10 +531,7 @@ LibvlcInputNPObject::setProperty(int index, const NPVariant &value)
VlcPlugin* p_plugin = getPrivate<VlcPlugin>(); VlcPlugin* p_plugin = getPrivate<VlcPlugin>();
libvlc_media_player_t *p_md = p_plugin->getMD(); libvlc_media_player_t *p_md = p_plugin->getMD();
if( !p_md ) if( !p_md )
{ RETURN_ON_ERROR;
NPN_SetException(this, libvlc_errmsg() );
return INVOKERESULT_GENERIC_ERROR;
}
switch( index ) switch( index )
{ {
......
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