]> git.sesse.net Git - vlc/commitdiff
activex: create "ex" before using this exception variable
authorAnthony Loiseau <anthony.loiseau@gmail.com>
Wed, 11 Feb 2009 09:21:17 +0000 (10:21 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 11 Feb 2009 11:03:42 +0000 (12:03 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
projects/activex/plugin.cpp

index ec8cc44f96429cbf3a8041d8819afa3aac4e01eb..f9410c62357ca89165c32fd8e933c6772e65e261 100644 (file)
@@ -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