[vlc-devel] commit: activex: create "ex" before using this exception variable ( Anthony Loiseau )

git version control git at videolan.org
Wed Feb 11 12:03:45 CET 2009


vlc | branch: master | Anthony Loiseau <anthony.loiseau at gmail.com> | Wed Feb 11 10:21:17 2009 +0100| [e0e941ea6ce17b0e4acd7ff6bd60c55efd0bf937] | committer: Jean-Baptiste Kempf 

activex: create "ex" before using this exception variable

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/projects/activex/plugin.cpp b/projects/activex/plugin.cpp
index ec8cc44..f9410c6 100644
--- a/projects/activex/plugin.cpp
+++ b/projects/activex/plugin.cpp
@@ -672,6 +672,8 @@ BOOL VLCPlugin::isInPlaceActive(void)
 HRESULT VLCPlugin::onActivateInPlace(LPMSG lpMesg, HWND hwndParent, LPCRECT lprcPosRect, LPCRECT lprcClipRect)
 {
     RECT clipRect = *lprcClipRect;
+    libvlc_exception_t ex;
+    libvlc_exception_init(&ex);
 
     /*
     ** record keeping of control geometry within container




More information about the vlc-devel mailing list