[MPlayer-cvslog] r32654 - in trunk/libmpdemux: demux_ty_osd.c demux_ty_osd.h

reimar subversion at mplayerhq.hu
Sat Nov 27 11:12:35 CET 2010


Author: reimar
Date: Sat Nov 27 11:12:35 2010
New Revision: 32654

Log:
Mark input buffer that is never modified as const.

Modified:
   trunk/libmpdemux/demux_ty_osd.c
   trunk/libmpdemux/demux_ty_osd.h

Modified: trunk/libmpdemux/demux_ty_osd.c
==============================================================================
--- trunk/libmpdemux/demux_ty_osd.c	Sat Nov 27 11:09:20 2010	(r32653)
+++ trunk/libmpdemux/demux_ty_osd.c	Sat Nov 27 11:12:35 2010	(r32654)
@@ -861,7 +861,7 @@ static int ty_XDSdecode( char b1, char b
 // ===========================================================================
 // Callback from Video Display Processing to put up the OSD
 // ===========================================================================
-void ty_processuserdata( unsigned char* buf, int len )
+void ty_processuserdata( const unsigned char* buf, int len )
 {
 	int index;
 

Modified: trunk/libmpdemux/demux_ty_osd.h
==============================================================================
--- trunk/libmpdemux/demux_ty_osd.h	Sat Nov 27 11:09:20 2010	(r32653)
+++ trunk/libmpdemux/demux_ty_osd.h	Sat Nov 27 11:12:35 2010	(r32654)
@@ -20,6 +20,6 @@
 #define MPLAYER_DEMUX_TY_OSD_H
 
 void ty_ClearOSD(int start);
-void ty_processuserdata(unsigned char *buf, int len);
+void ty_processuserdata(const unsigned char *buf, int len);
 
 #endif /* MPLAYER_DEMUX_TY_OSD_H */


More information about the MPlayer-cvslog mailing list