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:
d02583b
)
just to be sure...
author
Benjamin Otte
<otte@gnome.org>
Fri, 25 Apr 2003 00:26:09 +0000
(
00:26
+0000)
committer
Benjamin Otte
<otte@gnome.org>
Fri, 25 Apr 2003 00:26:09 +0000
(
00:26
+0000)
Original commit message from CVS:
just to be sure...
gst/parse/grammar.y
patch
|
blob
|
history
diff --git
a/gst/parse/grammar.y
b/gst/parse/grammar.y
index
1d69431
..
6960291
100644
(file)
--- a/
gst/parse/grammar.y
+++ b/
gst/parse/grammar.y
@@
-276,7
+276,7
@@
gst_parse_element_set (gchar *value, GstElement *element, graph_t *graph)
g_value_set_enum (&v, en->value);
} else {
gint i = strtol (value, &endptr, 0);
- if (*endptr == '\0') {
+ if (
endptr &&
*endptr == '\0') {
g_value_set_enum (&v, i);
} else {
goto error;