base-xml-formatter: Don't attempt to use NULL entry
authorEdward Hervey <bilboed@bilboed.com>
Thu, 10 Apr 2014 15:52:20 +0000 (17:52 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 10 Apr 2014 15:52:20 +0000 (17:52 +0200)
Instead return straight away

CID #1139739

ges/ges-base-xml-formatter.c

index 3758a78..626ba06 100644 (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 */