projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b678f6c
)
playbin2: fix compiler warning
author
Alessandro Decina
<alessandro.d@gmail.com>
Thu, 15 Sep 2011 20:04:56 +0000
(22:04 +0200)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Thu, 15 Sep 2011 20:05:34 +0000
(22:05 +0200)
Remove a check for gchar >= 128
gst/playback/gstplaybin2.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstplaybin2.c
b/gst/playback/gstplaybin2.c
index
b057bbe
..
41b3cd4
100644
(file)
--- 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;