]> git.sesse.net Git - vlc/commitdiff
ActiveX: fix compilation
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 Jan 2010 11:27:00 +0000 (12:27 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 Jan 2010 11:27:19 +0000 (12:27 +0100)
projects/activex/plugin.cpp
projects/activex/plugin.h

index 5eef2cd5d82de43e92ff15aaeff1c12c45fcffb7..245d83373bb02569e78666c405ecaec946b52bcc 100644 (file)
@@ -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);
index ac04a9242896929e1b99cf33b6691af82286670d..e030765a8864512d031ad2bf9ffa71265311520f 100644 (file)
@@ -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)
     {