changeset 29821:ed46f577f157

Change type of teletext color specification from unsigned char to static const uint8_t
author reimar
date Mon, 09 Nov 2009 15:11:54 +0000
parents b33846197f5c
children 60563cd70955
files libvo/sub.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/sub.c	Mon Nov 09 15:04:57 2009 +0000
+++ b/libvo/sub.c	Mon Nov 09 15:11:54 2009 +0000
@@ -312,7 +312,7 @@
     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;