[vlc-devel] commit: mozilla: fix compilation. ( Rémi Duraffort )
git version control
git at videolan.org
Tue Feb 2 23:17:05 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Feb 2 23:07:32 2010 +0100| [24b456d8e958852192fb17da40159d39d750e684] | committer: Rémi Duraffort
mozilla: fix compilation.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=24b456d8e958852192fb17da40159d39d750e684
---
projects/mozilla/vlcplugin.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/projects/mozilla/vlcplugin.cpp b/projects/mozilla/vlcplugin.cpp
index 92fa10d..3cb456e 100644
--- a/projects/mozilla/vlcplugin.cpp
+++ b/projects/mozilla/vlcplugin.cpp
@@ -452,8 +452,8 @@ void VlcPlugin::set_player_window()
int VlcPlugin::playlist_add( const char *mrl, libvlc_exception_t *ex )
{
int item = -1;
- libvlc_media_t *p_m = libvlc_media_new(libvlc_instance,mrl,ex);
- if( libvlc_exception_raised(ex) )
+ libvlc_media_t *p_m = libvlc_media_new(libvlc_instance,mrl);
+ if( p_m )
return -1;
libvlc_media_list_lock(libvlc_media_list);
@@ -470,9 +470,9 @@ int VlcPlugin::playlist_add( const char *mrl, libvlc_exception_t *ex )
int VlcPlugin::playlist_add_extended_untrusted( const char *mrl, const char *name,
int optc, const char **optv, libvlc_exception_t *ex )
{
- libvlc_media_t *p_m = libvlc_media_new(libvlc_instance, mrl,ex);
+ libvlc_media_t *p_m = libvlc_media_new(libvlc_instance, mrl);
int item = -1;
- if( libvlc_exception_raised(ex) )
+ if( p_m )
return -1;
for( int i = 0; i < optc; ++i )
More information about the vlc-devel
mailing list