diff src/mediastreamer/msread.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/msread.c	Wed Nov 09 09:02:43 2005 +0000
+++ b/src/mediastreamer/msread.c	Wed Nov 09 09:57:33 2005 +0000
@@ -31,7 +31,6 @@
 MSFilter * ms_read_new(char *name)
 {
 	MSRead *r;
-	int fd=-1;
 	
 	r=g_new(MSRead,1);
 	ms_read_init(r);
@@ -92,6 +91,11 @@
 		case MS_FILTER_PROPERTY_FREQ:
 			f->rate=((gint*)value)[0];
 		break;
+		case MS_FILTER_PROPERTY_BITRATE:
+		case MS_FILTER_PROPERTY_CHANNELS:
+		case MS_FILTER_PROPERTY_FMTP:
+		default:
+		break;
 	}
 	return 0;
 }
@@ -172,6 +176,11 @@
 		obj->fd=-1;
 		obj->state=MS_READ_STATE_STOPPED;
 	}
+
+	/* No idea if this is correct, but again nothing is calling it and it's not
+	 * even declared in the header file so this should be fine. -- Gary
+	 */
+	return 0;
 }