[vlc-commits] WinGDI: remove useless includes

Jean-Baptiste Kempf git at videolan.org
Wed Sep 11 14:03:30 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Sep 11 13:44:53 2013 +0200| [b5b5d5bd61ce94ae58afbfdcfdb3e1798d32270c] | committer: Jean-Baptiste Kempf

WinGDI: remove useless includes

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

 modules/video_output/msw/wingdi.c |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/modules/video_output/msw/wingdi.c b/modules/video_output/msw/wingdi.c
index 749d5b8..761af9a 100644
--- a/modules/video_output/msw/wingdi.c
+++ b/modules/video_output/msw/wingdi.c
@@ -36,14 +36,9 @@
 #include <vlc_vout_display.h>
 
 #include <windows.h>
-#include <commctrl.h>
 
 #include "common.h"
 
-#ifndef WS_NONAVDONEBUTTON
-#   define WS_NONAVDONEBUTTON 0
-#endif
-
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/
@@ -129,6 +124,7 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned count)
     VLC_UNUSED(count);
     return vd->sys->pool;
 }
+
 static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpicture)
 {
     vout_display_sys_t *sys = vd->sys;
@@ -172,6 +168,7 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
 
     CommonDisplay(vd);
 }
+
 static int Control(vout_display_t *vd, int query, va_list args)
 {
     switch (query) {
@@ -183,6 +180,7 @@ static int Control(vout_display_t *vd, int query, va_list args)
     }
 
 }
+
 static void Manage(vout_display_t *vd)
 {
     CommonManage(vd);



More information about the vlc-commits mailing list