[MPlayer-cvslog] r29863 - trunk/libvo/sub.c

reimar subversion at mplayerhq.hu
Mon Nov 9 16:11:54 CET 2009


Author: reimar
Date: Mon Nov  9 16:11:54 2009
New Revision: 29863

Log:
Change type of teletext color specification from unsigned char
to static const uint8_t

Modified:
   trunk/libvo/sub.c

Modified: trunk/libvo/sub.c
==============================================================================
--- trunk/libvo/sub.c	Mon Nov  9 16:04:57 2009	(r29862)
+++ trunk/libvo/sub.c	Mon Nov  9 16:11:54 2009	(r29863)
@@ -312,7 +312,7 @@ inline static void vo_update_text_telete
     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;


More information about the MPlayer-cvslog mailing list