summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a602d0)
raw | patch | inline | side by side (parent: 0a602d0)
author | Thomas Vander Stichele <thomas@apestaart.org> | |
Tue, 30 Mar 2004 11:21:40 +0000 (11:21 +0000) | ||
committer | Thomas Vander Stichele <thomas@apestaart.org> | |
Tue, 30 Mar 2004 11:21:40 +0000 (11:21 +0000) |
Original commit message from CVS:
check string for nullity
check string for nullity
ChangeLog | patch | blob | history | |
gst/gstcaps.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 6247bc2efed34f196bf2e2af92e198fa0b768325..02a04dd0923861f79e3b286c597723afeba4e0cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2004-03-30 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * gst/gstcaps.c: (gst_caps_from_string_inplace):
+ make sure we don't get NULL strings
+
2004-03-30 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstcaps.c:
diff --git a/gst/gstcaps.c b/gst/gstcaps.c
index 39be411385b50ce40bc095e22c56720704cf6c23..ba492bf2e3ae7c149fa5f6cad0304f252d09d4cc 100644 (file)
--- a/gst/gstcaps.c
+++ b/gst/gstcaps.c
GstStructure *structure;
gchar *s;
+ g_return_val_if_fail (string, FALSE);
if (strcmp ("ANY", string) == 0) {
caps->flags = GST_CAPS_FLAGS_ANY;
return TRUE;