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:
7d3c4b8
)
fix bug #96751
author
Wim Taymans
<wim.taymans@gmail.com>
Sun, 8 Dec 2002 01:26:02 +0000
(
01:26
+0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Sun, 8 Dec 2002 01:26:02 +0000
(
01:26
+0000)
Original commit message from CVS:
fix bug #96751
gst/parse/grammar.y
patch
|
blob
|
history
diff --git
a/gst/parse/grammar.y
b/gst/parse/grammar.y
index
b3b3b63
..
05c6ad3
100644
(file)
--- a/
gst/parse/grammar.y
+++ b/
gst/parse/grammar.y
@@
-90,7
+90,8
@@
graph: /* empty */ { $$ = g_new0 (graph_t, 1); *((graph_t**) p
}
| graph connection { $$ = $1;
$$->connections = g_list_append ($$->connections, $2);
- $2->src_index = $$->current->index;
+ if ($$->current)
+ $2->src_index = $$->current->index;
if (!$2->sink_name)
$$->connections_pending = g_list_append ($$->connections_pending, $2);
}