]> git.sesse.net Git - vlc/blobdiff - src/osd/osd_widgets.c
dhparams: svn:keyword = $Id$
[vlc] / src / osd / osd_widgets.c
index 37d29ba549034709deefb6f268ac19303b9c2336..fd2ffeb6494004ca704c60b76304e1d0d694f9d9 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * osd_widgets.c : OSD widgets manipulation functions
  *****************************************************************************
- * Copyright (C) 2004-2005 the VideoLAN team
+ * Copyright (C) 2004-2007 the VideoLAN team
  * $Id$
  *
  * Author: Yoann Peronneau <yoann@videolan.org>
@@ -24,7 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                                /* free() */
 #include <vlc/vlc.h>
 #include <vlc_osd.h>
 #include <vlc_vout.h>
@@ -217,6 +216,7 @@ int osd_Slider( vlc_object_t *p_this, spu_t *p_spu,
 {
     subpicture_t *p_subpic;
     int i_x_margin, i_y_margin, i_x, i_y, i_width, i_height;
+    (void)p_this;
 
     p_subpic = osd_CreateWidget( p_spu, i_channel );
     if( p_subpic == NULL )
@@ -279,6 +279,7 @@ int osd_Icon( vlc_object_t *p_this, spu_t *p_spu,
 {
     subpicture_t *p_subpic;
     int i_x_margin, i_y_margin, i_x, i_y, i_width, i_height;
+    (void)p_this;
 
     p_subpic = osd_CreateWidget( p_spu, i_channel );
     if( p_subpic == NULL )