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:
2bb8691
)
gst/parse/parse.l: fix for G_DISABLE_ASSERT
author
Benjamin Otte
<otte@gnome.org>
Tue, 3 Aug 2004 10:24:39 +0000
(10:24 +0000)
committer
Benjamin Otte
<otte@gnome.org>
Tue, 3 Aug 2004 10:24:39 +0000
(10:24 +0000)
Original commit message from CVS:
* gst/parse/parse.l:
fix for G_DISABLE_ASSERT
ChangeLog
patch
|
blob
|
history
gst/parse/parse.l
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
4c9cd6d
..
0fd31d3
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2004-08-03 Benjamin Otte <otte@gnome.org>
+
+ * gst/parse/parse.l:
+ fix for G_DISABLE_ASSERT
+
2004-08-03 Wim Taymans <wim@fluendo.com>
* gst/gstbin.c: (gst_bin_get_type),
diff --git
a/gst/parse/parse.l
b/gst/parse/parse.l
index
2411709
..
46ec251
100644
(file)
--- a/
gst/parse/parse.l
+++ b/
gst/parse/parse.l
@@
-110,7
+110,8
@@
_link ("!"[[:space:]]*{_caps}([[:space:]]*(";"[[:space:]]*{_caps})*[[:space:]]*)
while (g_ascii_isspace (*c)) c++;
c = lvalp->s = gst_parse_strdup (c);
while (*c) c++;
- g_assert (*--c == '!');
+ if (*--c != '!')
+ g_assert_not_reached ();
while (g_ascii_isspace (*--c));
*++c = '\0';
} else {