File iax-ilbc.diff of Package kiax

--- iaxclient/lib/Makefile	2005-09-12 21:49:04.000000000 +0200
+++ iaxclient/lib/Makefile	2005-04-05 23:53:41.000000000 +0200
@@ -16,7 +16,7 @@
 
 
 
-CODEC_ILBC=0
+CODEC_ILBC=1
 
 SPEEX_PREPROCESS=1
 SPAN_EC=0
 OBJS:= $(OBJS) $(OBJS_LIBSPEEX) 
 
--- iaxclient/lib/audio_encode.c.orig	2005-07-30 07:32:18.000000000 +0200
+++ iaxclient/lib/audio_encode.c	2005-12-30 15:20:44.384306071 +0100
@@ -19,6 +19,7 @@
 #include "codec_ulaw.h"
 #include "codec_alaw.h"
 #include "codec_speex.h"
+#include "codec_ilbc.h"
 
 double iaxc_silence_threshold = -9e99;
 
--- iaxclient/lib/codec_ilbc.c.orig	2004-12-15 18:56:58.000000000 +0100
+++ iaxclient/lib/codec_ilbc.c	2005-12-30 15:47:58.634724802 +0100
@@ -23,7 +23,7 @@ static void destroy ( struct iaxc_audio_
 
 
 static int decode ( struct iaxc_audio_codec *c, 
-    int *inlen, char *in, int *outlen, short *out ) {
+    int *inlen, unsigned char *in, int *outlen, short *out ) {
 
     float fbuf[240];
     int i;
@@ -59,7 +59,7 @@ static int decode ( struct iaxc_audio_co
 }
 
 static int encode ( struct iaxc_audio_codec *c, 
-    int *inlen, short *in, int *outlen, char *out ) {
+    int *inlen, short *in, int *outlen, unsigned char *out ) {
 
     float fbuf[240];
     int i;
openSUSE Build Service is sponsored by