playbin2: fix compiler warning

Remove a check for gchar >= 128
This commit is contained in:
Alessandro Decina 2011-09-15 22:04:56 +02:00
parent b678f6cf69
commit a330ff0721

View file

@ -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;