[vlc-devel] commit: ActiveX: fix compilation (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Jan 29 12:27:18 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 29 12:27:00 2010 +0100| [13bfe4cc22b4c334f639fdec386bbd8419ecd80f] | committer: Jean-Baptiste Kempf 

ActiveX: fix compilation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13bfe4cc22b4c334f639fdec386bbd8419ecd80f
---

 projects/activex/plugin.cpp |    7 +------
 projects/activex/plugin.h   |    2 +-
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/projects/activex/plugin.cpp b/projects/activex/plugin.cpp
index 5eef2cd..245d833 100644
--- a/projects/activex/plugin.cpp
+++ b/projects/activex/plugin.cpp
@@ -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);
diff --git a/projects/activex/plugin.h b/projects/activex/plugin.h
index ac04a92..e030765 100644
--- a/projects/activex/plugin.h
+++ b/projects/activex/plugin.h
@@ -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)
     {




More information about the vlc-devel mailing list