[Asterisk-cvs] asterisk-addons/format_mp3 format_mp3.c,1.2,1.3

markster at lists.digium.com markster at lists.digium.com
Sun Jan 9 03:02:09 CST 2005


Update of /usr/cvsroot/asterisk-addons/format_mp3
In directory mongoose.digium.com:/tmp/cvs-serv11240/format_mp3

Modified Files:
	format_mp3.c 
Log Message:
Minor cleanups for latest cvs (bug #3292)


Index: format_mp3.c
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/format_mp3/format_mp3.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- format_mp3.c	8 Sep 2004 16:17:25 -0000	1.2
+++ format_mp3.c	9 Jan 2005 09:06:33 -0000	1.3
@@ -149,7 +149,8 @@
 
 }
 
-static int mp3_squeue(struct ast_filestream *s) {
+static int mp3_squeue(struct ast_filestream *s) 
+{
 	int res=0;
 	s->lastseek = lseek(s->fd, 0, SEEK_CUR);
 	s->sbuflen = read(s->fd, s->sbuf, MP3_SCACHE);
@@ -164,7 +165,8 @@
 	s->dbufoffset = 0;
 	return 0;
 }
-static int mp3_dqueue(struct ast_filestream *s) {
+static int mp3_dqueue(struct ast_filestream *s) 
+{
 	int res=0;
 	if((res = decodeMP3(&s->mp,NULL,0,s->dbuf,MP3_DCACHE,&s->dbuflen)) == MP3_OK) {
 		s->sbuflen -= s->dbuflen;
@@ -295,12 +297,14 @@
 	
 }
 
-static struct ast_filestream *mp3_rewrite(int fd, char *comment) {
+static struct ast_filestream *mp3_rewrite(int fd, const char *comment) 
+{
 	ast_log(LOG_ERROR,"I Can't write MP3 only read them.\n");
 	return NULL;
 }
 
-static int mp3_trunc(struct ast_filestream *fs) {
+static int mp3_trunc(struct ast_filestream *fs) 
+{
 
 	ast_log(LOG_ERROR,"I Can't write MP3 only read them.\n");
 	return -1;




More information about the svn-commits mailing list