diff options
-rw-r--r-- | include/xine/vo_scale.h | 2 | ||||
-rw-r--r-- | src/xine-engine/vo_scale.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/xine/vo_scale.h b/include/xine/vo_scale.h index b8b1a535b..9c7f8f4f3 100644 --- a/include/xine/vo_scale.h +++ b/include/xine/vo_scale.h @@ -183,7 +183,7 @@ void _x_vo_scale_translate_gui2video(vo_scale_t *self, * Returns description of a given ratio code */ -char *_x_vo_scale_aspect_ratio_name(int a) XINE_PROTECTED; +const char *_x_vo_scale_aspect_ratio_name(int a) XINE_PROTECTED; /* * initialize rescaling struct diff --git a/src/xine-engine/vo_scale.c b/src/xine-engine/vo_scale.c index 5da5ab26e..bae84ea96 100644 --- a/src/xine-engine/vo_scale.c +++ b/src/xine-engine/vo_scale.c @@ -315,7 +315,8 @@ void _x_vo_scale_translate_gui2video(vo_scale_t *this, * Returns description of a given ratio code */ -char *_x_vo_scale_aspect_ratio_name(int a) { +const char *_x_vo_scale_aspect_ratio_name(int a) { + /* TODO replace this with a string table */ switch (a) { case XINE_VO_ASPECT_AUTO: |