From 509475ec2c85c0456584b0596176280c51f11cd6 Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 9 Nov 2009 15:11:54 +0000 Subject: [PATCH] Change type of teletext color specification from unsigned char to static const uint8_t git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29863 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/sub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/sub.c b/libvo/sub.c index 2a872bdc1f..e945cd1a4d 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -312,7 +312,7 @@ inline static void vo_update_text_teletext(mp_osd_obj_t *obj, int dxs, int dys) int b,ax[6],ay[6],aw[6],ah[6]; tt_char tc; tt_char* tdp=vo_osd_teletext_page; - unsigned char colors[8]={1,85,150,226,70,105,179,254}; + static const uint8_t colors[8]={1,85,150,226,70,105,179,254}; unsigned char* buf[9]; obj->flags|=OSDFLAG_CHANGED|OSDFLAG_VISIBLE;