mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
just to be sure...
Original commit message from CVS: just to be sure...
This commit is contained in:
parent
d02583b999
commit
b04519c43d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue