Commit c1f7b619 authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

gst/gstvalue.c: Allow NULL-strings as argument (#165365).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/gstvalue.c: (gst_string_wrap):
Allow NULL-strings as argument (#165365).
parent a410bdd9
2005-01-28 Edward Hervey <bilboed@bilboed.com>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstvalue.c: (gst_string_wrap):
Allow NULL-strings as argument (#165365).
2005-01-27 Stephane Wirtel <stephane.wirtel@belgacom.net>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
......
......@@ -1241,6 +1241,8 @@ gst_string_wrap (const char *s)
len = 0;
t = s;
if (!s)
return g_strdup ("");
while (*t) {
if (GST_ASCII_IS_STRING (*t)) {
len++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment