changeset 30664:d21d50b4b9ce

Mark data argument of my_ao_write() function as const.
author diego
date Mon, 22 Feb 2010 14:05:30 +0000
parents 94c7f4056b2b
children 16bb5e90205f
files libao2/ao_mpegpes.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_mpegpes.c	Mon Feb 22 14:04:39 2010 +0000
+++ b/libao2/ao_mpegpes.c	Mon Feb 22 14:05:30 2010 +0000
@@ -208,7 +208,7 @@
 	return vo_mpegpes_fd2;
 }
 
-static int my_ao_write(unsigned char* data,int len){
+static int my_ao_write(const unsigned char* data,int len){
     int orig_len = len;
 #ifdef CONFIG_DVB
 #define NFD   1