summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-03 01:25:57 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-03 01:25:57 +0100
commit760c9b664fb211d720111b2e462092180acae44c (patch)
treec7d9243d5f57b9d182629886889f0f6adbe40438 /include
parent299a77d45f12f0e9103925a86b985f307e8eee6d (diff)
downloadxine-lib-760c9b664fb211d720111b2e462092180acae44c.tar.gz
xine-lib-760c9b664fb211d720111b2e462092180acae44c.tar.bz2
Replace _x_vo_scale_aspect_ratio_name() function with a string table, all the uses already check for the index not to go over ther expected one.
Diffstat (limited to 'include')
-rw-r--r--include/xine/vo_scale.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xine/vo_scale.h b/include/xine/vo_scale.h
index 9c7f8f4f3..686d53c22 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
*/
-const char *_x_vo_scale_aspect_ratio_name(int a) XINE_PROTECTED;
+extern const char _x_vo_scale_aspect_ratio_name_table[][8] XINE_PROTECTED;
/*
* initialize rescaling struct