From 13bfe4cc22b4c334f639fdec386bbd8419ecd80f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Fri, 29 Jan 2010 12:27:00 +0100 Subject: [PATCH] ActiveX: fix compilation --- 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 5eef2cd5d8..245d83373b 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 ac04a92428..e030765a88 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) { -- 2.39.5