[vlc-commits] Revert "vout: win32: Fix use of potentially uninitialized value"

Hugo Beauzée-Luyssen git at videolan.org
Wed Jun 15 23:29:03 CEST 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jun 15 23:28:55 2016 +0200| [db8792b7b0672fc0bcc1d222063c4cb90eff86a9] | committer: Hugo Beauzée-Luyssen

Revert "vout: win32: Fix use of potentially uninitialized value"

This reverts commit 485a1940bad4b854c1e39e66ebba4562d8e34aa0.

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

 modules/video_output/win32/common.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index a1e10d4..886d579 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -75,8 +75,6 @@ int CommonInit(vout_display_t *vd)
     sys->event = EventThreadCreate(vd);
     if (!sys->event)
         return VLC_EGENERIC;
-#elif defined(HAVE_ID3D11VIDEODECODER)
-    sys->context_lock = INVALID_HANDLE_VALUE;
 #endif
 
     event_cfg_t cfg;



More information about the vlc-commits mailing list