base-xml-formatter: Don't attempt to use NULL entry

Instead return straight away

CID #1139739
This commit is contained in:
Edward Hervey 2014-04-10 17:52:20 +02:00
parent a66e674649
commit e58a0a0fd8

View file

@ -776,6 +776,7 @@ ges_base_xml_formatter_add_clip (GESBaseXmlFormatter * self,
"We got a Clip in a layer"
" that does not exist, something is wrong either in the project file or"
" in %s", g_type_name (G_OBJECT_TYPE (self)));
return;
}
/* We do not want the properties that are passed to layer-add_asset to be reset */