mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
sorry, but I'd like this fixed ;)
Original commit message from CVS: sorry, but I'd like this fixed ;)
This commit is contained in:
parent
fd09a5765a
commit
ac5bfadbfe
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,7 @@ _gst_plugin_initialize (void)
|
|||
{
|
||||
GList *gst_plugin_default_paths = NULL;
|
||||
#ifndef GST_DISABLE_REGISTRY
|
||||
xmlDocPtr doc;
|
||||
xmlDocPtr doc = NULL;
|
||||
xmlNodePtr root;
|
||||
#endif
|
||||
|
||||
|
@ -90,6 +90,7 @@ _gst_plugin_initialize (void)
|
|||
|
||||
#ifndef GST_DISABLE_REGISTRY
|
||||
doc = xmlParseFile (GST_CONFIG_DIR"/reg.xml");
|
||||
g_assert (doc != NULL);
|
||||
|
||||
if (!doc ||
|
||||
!doc->xmlRootNode ||
|
||||
|
|
Loading…
Reference in a new issue