[MPlayer-cvslog] r35401 - trunk/libmpcodecs/dec_teletext.c

reimar subversion at mplayerhq.hu
Sat Nov 10 14:41:39 CET 2012


Author: reimar
Date: Sat Nov 10 14:41:38 2012
New Revision: 35401

Log:
Mark pointer arguments that are not written to as const.

Modified:
   trunk/libmpcodecs/dec_teletext.c

Modified: trunk/libmpcodecs/dec_teletext.c
==============================================================================
--- trunk/libmpcodecs/dec_teletext.c	Sat Nov 10 14:39:01 2012	(r35400)
+++ trunk/libmpcodecs/dec_teletext.c	Sat Nov 10 14:41:38 2012	(r35401)
@@ -1325,7 +1325,7 @@ static void decode_pkt28(priv_vbi_t* pri
  * Used XawTV's algorithm. Signal phase is calculated with help of starting clock
  * run-in sequence (min/max values and bit distance values are calculated)
  */
-static int decode_raw_line_runin(priv_vbi_t* priv,unsigned char* buf,unsigned char* data){
+static int decode_raw_line_runin(const priv_vbi_t* priv,const unsigned char* buf,unsigned char* data){
     const int magic= 0x27; // reversed 1110010
     int dt[256],hi[6],lo[6];
     int i,x,r;


More information about the MPlayer-cvslog mailing list