Commit 13bfe4cc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ActiveX: fix compilation

parent 181466ef
......@@ -493,12 +493,7 @@ void VLCPlugin::initVLC()
if( libvlc_exception_raised(&ex) )
return;
_p_mlist = libvlc_media_list_new(_p_libvlc, &ex);
if( libvlc_exception_raised(&ex) )
{
libvlc_release(_p_libvlc);
return;
}
_p_mlist = libvlc_media_list_new(_p_libvlc);
// initial volume setting
libvlc_audio_set_volume(_p_libvlc, _i_volume, NULL);
......
......@@ -260,7 +260,7 @@ public:
return;
if( _p_mlist )
libvlc_media_list_release(_p_mlist);
_p_mlist = libvlc_media_list_new(_p_libvlc,ex);
_p_mlist = libvlc_media_list_new(_p_libvlc);
}
int playlist_count(libvlc_exception_t *ex)
{
......
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