changeset 31352:f924b5c78117

Mark first parameter of ivtv_write as const; it is never changed.
author diego
date Mon, 14 Jun 2010 15:43:47 +0000
parents 82b090521efa
children a465b54b0897
files libao2/ao_ivtv.c libvo/vo_ivtv.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_ivtv.c	Mon Jun 14 15:21:09 2010 +0000
+++ b/libao2/ao_ivtv.c	Mon Jun 14 15:43:47 2010 +0000
@@ -147,7 +147,7 @@
 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;
--- a/libvo/vo_ivtv.c	Mon Jun 14 15:21:09 2010 +0000
+++ b/libvo/vo_ivtv.c	Mon Jun 14 15:43:47 2010 +0000
@@ -108,7 +108,7 @@
 }
 
 int
-ivtv_write (unsigned char *data, int len)
+ivtv_write (const unsigned char *data, int len)
 {
   if (ivtv_fd < 0)
     return 0;