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

git version control git at videolan.org
Tue Aug 11 09:46:02 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 11 09:45:19 2009 +0200| [e7dfcd8d64bdac1b4b3fe6a6032de60df202efbf] | committer: Jean-Baptiste Kempf 

Fix ActiveX compilation

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

 projects/activex/vlccontrol2.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/projects/activex/vlccontrol2.cpp b/projects/activex/vlccontrol2.cpp
index 2acec96..4aeac92 100644
--- a/projects/activex/vlccontrol2.cpp
+++ b/projects/activex/vlccontrol2.cpp
@@ -1346,7 +1346,10 @@ STDMETHODIMP VLCMessageIterator::next(IVLCMessage** message)
 
         buffer.sizeof_msg = sizeof(buffer);
 
-        libvlc_log_iterator_next(_p_iter, &buffer);
+        libvlc_exception_t ex;
+        libvlc_exception_init(&ex);
+
+        libvlc_log_iterator_next(_p_iter, &buffer, &ex);
         *message = new VLCMessage(_p_instance, buffer);
         if( !message )
             hr = E_OUTOFMEMORY;




More information about the vlc-devel mailing list