[MPlayer-cvslog] r25712 - in trunk/stream: tv.h tvi_def.h

reimar subversion at mplayerhq.hu
Sun Jan 13 12:48:56 CET 2008


Author: reimar
Date: Sun Jan 13 12:48:56 2008
New Revision: 25712

Log:
tvi_functions_t should be const


Modified:
   trunk/stream/tv.h
   trunk/stream/tvi_def.h

Modified: trunk/stream/tv.h
==============================================================================
--- trunk/stream/tv.h	(original)
+++ trunk/stream/tv.h	Sun Jan 13 12:48:56 2008
@@ -102,7 +102,7 @@ typedef struct tvi_functions_s
 } tvi_functions_t;
 
 typedef struct tvi_handle_s {
-    tvi_functions_t	*functions;
+    const tvi_functions_t	*functions;
     void		*priv;
     int 		seq;
 

Modified: trunk/stream/tvi_def.h
==============================================================================
--- trunk/stream/tvi_def.h	(original)
+++ trunk/stream/tvi_def.h	Sun Jan 13 12:48:56 2008
@@ -12,7 +12,7 @@ static int get_audio_framesize(priv_t *p
 
 int teletext_control(void* p, int cmd, void *arg);
 
-static tvi_functions_t functions =
+static const tvi_functions_t functions =
 {
     init,
     uninit,



More information about the MPlayer-cvslog mailing list