[MPlayer-cvslog] r31418 - in trunk: libao2/ao_ivtv.c libvo/vo_ivtv.c

diego subversion at mplayerhq.hu
Mon Jun 14 17:43:47 CEST 2010


Author: diego
Date: Mon Jun 14 17:43:47 2010
New Revision: 31418

Log:
Mark first parameter of ivtv_write as const; it is never changed.

Modified:
   trunk/libao2/ao_ivtv.c
   trunk/libvo/vo_ivtv.c

Modified: trunk/libao2/ao_ivtv.c
==============================================================================
--- trunk/libao2/ao_ivtv.c	Mon Jun 14 17:21:09 2010	(r31417)
+++ trunk/libao2/ao_ivtv.c	Mon Jun 14 17:43:47 2010	(r31418)
@@ -147,7 +147,7 @@ get_space (void)
 static int
 play (void *data, int len, int flags)
 {
-  int ivtv_write (unsigned char *data, int len);
+  int ivtv_write (const unsigned char *data, int len);
 
   if (ao_data.format != AF_FORMAT_MPEG2)
     return 0;

Modified: trunk/libvo/vo_ivtv.c
==============================================================================
--- trunk/libvo/vo_ivtv.c	Mon Jun 14 17:21:09 2010	(r31417)
+++ trunk/libvo/vo_ivtv.c	Mon Jun 14 17:43:47 2010	(r31418)
@@ -108,7 +108,7 @@ ivtv_reset (int blank_screen)
 }
 
 int
-ivtv_write (unsigned char *data, int len)
+ivtv_write (const unsigned char *data, int len)
 {
   if (ivtv_fd < 0)
     return 0;


More information about the MPlayer-cvslog mailing list