mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
ext/ogg/gstoggdemux.c: Don't try to activate NULL chains.
Original commit message from CVS: * ext/ogg/gstoggdemux.c: (gst_ogg_demux_activate_chain): Don't try to activate NULL chains.
This commit is contained in:
parent
c5de07b3d9
commit
f0862d80d9
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-09 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_activate_chain):
|
||||
Don't try to activate NULL chains.
|
||||
|
||||
2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
|
||||
|
|
|
@ -1557,6 +1557,12 @@ gst_ogg_demux_activate_chain (GstOggDemux * ogg, GstOggChain * chain,
|
|||
|
||||
gst_ogg_demux_deactivate_current_chain (ogg);
|
||||
|
||||
/* FIXME, should not be called with NULL */
|
||||
if (chain == NULL) {
|
||||
ogg->current_chain = chain;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
GST_DEBUG ("activating chain %p", chain);
|
||||
|
||||
/* first add the pads */
|
||||
|
|
Loading…
Reference in a new issue