# HG changeset patch # User reimar # Date 1257779514 0 # Node ID ed46f577f157edcde3e8ac533bab4aee19ea8083 # Parent b33846197f5cb398bc73ded2116d719cef9b4971 Change type of teletext color specification from unsigned char to static const uint8_t diff -r b33846197f5c -r ed46f577f157 libvo/sub.c --- 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;