// Prepend the property value with the document root
-static inline void qualify_property( deserialise_context context, mlt_properties properties, char *name )
+static inline void qualify_property( deserialise_context context, mlt_properties properties, const char *name )
{
char *resource = mlt_properties_get( properties, name );
- if ( resource != NULL )
+ if ( resource != NULL && resource[0] )
{
// Qualify file name properties
char *root = mlt_properties_get( context->producer_map, "root" );
enum service_type type;
mlt_service service = context_pop_service( context, &type );
mlt_properties properties = MLT_SERVICE_PROPERTIES( service );
- char *value = NULL;
+ const char *value = NULL;
if ( service != NULL )
{