pre-C99 fixes

Original commit message from CVS:
pre-C99 fixes
This commit is contained in:
Scott Wheeler 2004-11-01 13:23:29 +00:00
parent 30b54891b6
commit 3fcf384570
2 changed files with 4 additions and 3 deletions

View file

@ -1191,10 +1191,10 @@ cdparanoia_uri_set_uri (GstURIHandler * handler, const gchar * uri)
gchar *protocol, *location; gchar *protocol, *location;
gboolean ret; gboolean ret;
ret = TRUE;
CDParanoia *cdparanoia = CDPARANOIA (handler); CDParanoia *cdparanoia = CDPARANOIA (handler);
ret = TRUE;
protocol = gst_uri_get_protocol (uri); protocol = gst_uri_get_protocol (uri);
if (strcmp (protocol, "cdda") != 0) { if (strcmp (protocol, "cdda") != 0) {
g_free (protocol); g_free (protocol);

View file

@ -233,6 +233,7 @@ gst_stream_info_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec) const GValue * value, GParamSpec * pspec)
{ {
GstStreamInfo *stream_info; GstStreamInfo *stream_info;
gboolean new_mute;
g_return_if_fail (GST_IS_STREAM_INFO (object)); g_return_if_fail (GST_IS_STREAM_INFO (object));
@ -245,7 +246,7 @@ gst_stream_info_set_property (GObject * object, guint prop_id,
g_warning ("cannot mute element stream"); g_warning ("cannot mute element stream");
break; break;
} }
gboolean new_mute = g_value_get_boolean (value); new_mute = g_value_get_boolean (value);
if (new_mute != stream_info->mute) { if (new_mute != stream_info->mute) {
stream_info->mute = new_mute; stream_info->mute = new_mute;