From: Alessandro Decina Date: Thu, 15 Sep 2011 20:04:56 +0000 (+0200) Subject: playbin2: fix compiler warning X-Git-Tag: 1.19.3~511^2~6555^2~486 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a330ff0721299889e74632751c5a4f592be90f6d;p=platform%2Fupstream%2Fgstreamer.git playbin2: fix compiler warning Remove a check for gchar >= 128 --- diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index b057bbe..41b3cd4 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -1284,7 +1284,7 @@ gst_playbin_uri_is_valid (GstPlayBin * playbin, const gchar * uri) return FALSE; for (c = uri; *c != '\0'; ++c) { - if (*c >= 128 || !g_ascii_isprint (*c)) + if (!g_ascii_isprint (*c)) goto invalid; if (*c == ' ') goto invalid;