diff src/mediastreamer/audiostream.c @ 12029:1c771536a032

[gaim-migrate @ 14322] This _compiles_ for me now. Theres still a bunch of "dereferencing type-punned pointer will break strict-aliasing rules" warning and some redefinition warnings from the various config.h's. The deferencing warnings look like a BE<->LE hack but I left them untouched for the time being. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Wed, 09 Nov 2005 09:57:33 +0000
parents e67993da8a22
children
line wrap: on
line diff
--- a/src/mediastreamer/audiostream.c	Wed Nov 09 09:02:43 2005 +0000
+++ b/src/mediastreamer/audiostream.c	Wed Nov 09 09:57:33 2005 +0000
@@ -18,7 +18,6 @@
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
-
 #include "mediastream.h"
 #ifdef INET6
 	#include <sys/types.h>
@@ -88,7 +87,6 @@
 {
 	const char *ret;
 #ifdef INET6
-	char num[8];
 	struct addrinfo hints, *res0;
 	int err;
 	memset(&hints, 0, sizeof(hints));
@@ -129,7 +127,6 @@
 				int payload,int jitt_comp,
 			RtpSession **recv, RtpSession **send){
 	RtpSession *rtps,*rtpr;
-	PayloadType *pt;
 	/* creates two rtp filters to recv send streams (remote part)*/
 	
 	rtps=rtp_session_new(RTP_SESSION_SENDONLY);
@@ -338,4 +335,9 @@
 {
 	ms_rtp_send_dtmf(MS_RTP_SEND(stream->rtpsend), dtmf);
 	ms_oss_write_play_dtmf(MS_OSS_WRITE(stream->soundwrite),dtmf);
+
+	/* not sure what this should be returning, nothing in mediastreamer calls
+	 * it directly, assuming 0 is okay here. -- Gary
+	 */
+	return 0;
 }