Commit e7dfcd8d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix ActiveX compilation

parent ce8ae4bb
...@@ -1346,7 +1346,10 @@ STDMETHODIMP VLCMessageIterator::next(IVLCMessage** message) ...@@ -1346,7 +1346,10 @@ STDMETHODIMP VLCMessageIterator::next(IVLCMessage** message)
buffer.sizeof_msg = sizeof(buffer); 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); *message = new VLCMessage(_p_instance, buffer);
if( !message ) if( !message )
hr = E_OUTOFMEMORY; hr = E_OUTOFMEMORY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment