[Asterisk-cvs] asterisk/formats format_g723.c, 1.14,
1.15 format_g726.c, 1.4, 1.5 format_g729.c, 1.12,
1.13 format_gsm.c, 1.17, 1.18 format_h263.c, 1.6,
1.7 format_ilbc.c, 1.5, 1.6 format_pcm.c, 1.14,
1.15 format_pcm_alaw.c, 1.12, 1.13 format_sln.c, 1.1,
1.2 format_vox.c, 1.16, 1.17 format_wav.c, 1.18,
1.19 format_wav_gsm.c, 1.25, 1.26
markster at lists.digium.com
markster at lists.digium.com
Sat Nov 13 11:12:12 CST 2004
Update of /usr/cvsroot/asterisk/formats
In directory mongoose.digium.com:/tmp/cvs-serv16605/formats
Modified Files:
format_g723.c format_g726.c format_g729.c format_gsm.c
format_h263.c format_ilbc.c format_pcm.c format_pcm_alaw.c
format_sln.c format_vox.c format_wav.c format_wav_gsm.c
Log Message:
Updates from char * to const char * + german syntax + enumeration (bug #2780)
Index: format_g723.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_g723.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- format_g723.c 22 Jun 2004 18:49:00 -0000 1.14
+++ format_g723.c 13 Nov 2004 16:13:07 -0000 1.15
@@ -78,7 +78,7 @@
return tmp;
}
-static struct ast_filestream *g723_rewrite(int fd, char *comment)
+static struct ast_filestream *g723_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_g726.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_g726.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- format_g726.c 22 Jun 2004 18:49:00 -0000 1.4
+++ format_g726.c 13 Nov 2004 16:13:07 -0000 1.5
@@ -198,7 +198,7 @@
return tmp;
}
-static struct ast_filestream *g726_40_rewrite(int fd, char *comment)
+static struct ast_filestream *g726_40_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
@@ -224,7 +224,7 @@
return tmp;
}
-static struct ast_filestream *g726_32_rewrite(int fd, char *comment)
+static struct ast_filestream *g726_32_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
@@ -250,7 +250,7 @@
return tmp;
}
-static struct ast_filestream *g726_24_rewrite(int fd, char *comment)
+static struct ast_filestream *g726_24_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
@@ -276,7 +276,7 @@
return tmp;
}
-static struct ast_filestream *g726_16_rewrite(int fd, char *comment)
+static struct ast_filestream *g726_16_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_g729.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_g729.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- format_g729.c 22 Jun 2004 18:49:00 -0000 1.12
+++ format_g729.c 13 Nov 2004 16:13:07 -0000 1.13
@@ -82,7 +82,7 @@
return tmp;
}
-static struct ast_filestream *g729_rewrite(int fd, char *comment)
+static struct ast_filestream *g729_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_gsm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_gsm.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- format_gsm.c 22 Jun 2004 18:49:00 -0000 1.17
+++ format_gsm.c 13 Nov 2004 16:13:07 -0000 1.18
@@ -91,7 +91,7 @@
return tmp;
}
-static struct ast_filestream *gsm_rewrite(int fd, char *comment)
+static struct ast_filestream *gsm_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_h263.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_h263.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- format_h263.c 22 Jun 2004 18:49:00 -0000 1.6
+++ format_h263.c 13 Nov 2004 16:13:07 -0000 1.7
@@ -90,7 +90,7 @@
return tmp;
}
-static struct ast_filestream *h263_rewrite(int fd, char *comment)
+static struct ast_filestream *h263_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_ilbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_ilbc.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- format_ilbc.c 22 Jun 2004 18:49:00 -0000 1.5
+++ format_ilbc.c 13 Nov 2004 16:13:07 -0000 1.6
@@ -84,7 +84,7 @@
return tmp;
}
-static struct ast_filestream *ilbc_rewrite(int fd, char *comment)
+static struct ast_filestream *ilbc_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_pcm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_pcm.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- format_pcm.c 25 Aug 2004 18:30:51 -0000 1.14
+++ format_pcm.c 13 Nov 2004 16:13:07 -0000 1.15
@@ -80,7 +80,7 @@
return tmp;
}
-static struct ast_filestream *pcm_rewrite(int fd, char *comment)
+static struct ast_filestream *pcm_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_pcm_alaw.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_pcm_alaw.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- format_pcm_alaw.c 22 Jun 2004 18:49:00 -0000 1.12
+++ format_pcm_alaw.c 13 Nov 2004 16:13:07 -0000 1.13
@@ -108,7 +108,7 @@
return tmp;
}
-static struct ast_filestream *pcm_rewrite(int fd, char *comment)
+static struct ast_filestream *pcm_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_sln.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_sln.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- format_sln.c 5 Sep 2004 18:00:55 -0000 1.1
+++ format_sln.c 13 Nov 2004 16:13:07 -0000 1.2
@@ -78,7 +78,7 @@
return tmp;
}
-static struct ast_filestream *slinear_rewrite(int fd, char *comment)
+static struct ast_filestream *slinear_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_vox.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_vox.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- format_vox.c 22 Jun 2004 18:49:00 -0000 1.16
+++ format_vox.c 13 Nov 2004 16:13:07 -0000 1.17
@@ -85,7 +85,7 @@
return tmp;
}
-static struct ast_filestream *vox_rewrite(int fd, char *comment)
+static struct ast_filestream *vox_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_wav.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_wav.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- format_wav.c 22 Jun 2004 18:49:00 -0000 1.18
+++ format_wav.c 13 Nov 2004 16:13:07 -0000 1.19
@@ -350,7 +350,7 @@
return tmp;
}
-static struct ast_filestream *wav_rewrite(int fd, char *comment)
+static struct ast_filestream *wav_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
Index: format_wav_gsm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_wav_gsm.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- format_wav_gsm.c 9 Oct 2004 14:55:14 -0000 1.25
+++ format_wav_gsm.c 13 Nov 2004 16:13:07 -0000 1.26
@@ -361,7 +361,7 @@
return tmp;
}
-static struct ast_filestream *wav_rewrite(int fd, char *comment)
+static struct ast_filestream *wav_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
More information about the svn-commits
mailing list