changeset 35307:57027e8acb11

Mark pointer arguments that are not written to as const.
author reimar
date Sat, 10 Nov 2012 13:41:38 +0000
parents f30c2707e168
children f570e9faa3c7
files libmpcodecs/dec_teletext.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_teletext.c	Sat Nov 10 13:39:01 2012 +0000
+++ b/libmpcodecs/dec_teletext.c	Sat Nov 10 13:41:38 2012 +0000
@@ -1325,7 +1325,7 @@
  * 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;