prevent segfault if in/out property is missing

This commit is contained in:
Robin Gareus 2014-11-17 04:05:00 +01:00
parent 55ce10f498
commit df40782b62

View file

@ -222,6 +222,7 @@ AudioPlaylistImporter::_move ()
XMLProperty* out = (*it)->property("out");
if (!in || !out) {
error << string_compose (X_("AudioPlaylistImporter (%1): did not find the \"in\" or \"out\" property from a crossfade"), name) << endmsg;
continue; // or fatal?
}
handler.update_region_id (in);