[MPlayer-cvslog] r33680 - trunk/libvo/vo_directx.c
reimar
subversion at mplayerhq.hu
Sun Jun 19 21:05:39 CEST 2011
Author: reimar
Date: Sun Jun 19 21:05:39 2011
New Revision: 33680
Log:
Add const to avoid compiler warning.
Modified:
trunk/libvo/vo_directx.c
Modified: trunk/libvo/vo_directx.c
==============================================================================
--- trunk/libvo/vo_directx.c Sun Jun 19 21:03:12 2011 (r33679)
+++ trunk/libvo/vo_directx.c Sun Jun 19 21:05:39 2011 (r33680)
@@ -1062,7 +1062,7 @@ config(uint32_t width, uint32_t height,
// contrast [0, 20000]
// hue [-180, 180]
// saturation [0, 20000]
-static uint32_t color_ctrl_set(char *what, int value)
+static uint32_t color_ctrl_set(const char *what, int value)
{
uint32_t r = VO_NOTIMPL;
DDCOLORCONTROL dcc;
@@ -1099,7 +1099,7 @@ static uint32_t color_ctrl_set(char *wha
}
//analoguous to color_ctrl_set
-static uint32_t color_ctrl_get(char *what, int *value)
+static uint32_t color_ctrl_get(const char *what, int *value)
{
uint32_t r = VO_NOTIMPL;
DDCOLORCONTROL dcc;
More information about the MPlayer-cvslog
mailing list