From 1406457b847cac6b63d4d670833e5e47f35b8cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 2 Jan 2008 18:55:25 +0100 Subject: Make _x_vo_scape_aspect_ratio_name return a constant string. Note that this should probably be replaced with a const string table. --- src/xine-engine/vo_scale.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3