Skip to content

Commit

Permalink
Fix SMB paths with backslashes treated as relative path.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed May 14, 2016
1 parent 8d6e5f0 commit 2f37f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/xml/producer_xml.c
Expand Up @@ -206,7 +206,7 @@ static inline void qualify_property( deserialise_context context, mlt_properties
if ( root != NULL && strcmp( root, "" ) )
{
char *full_resource = calloc( 1, n );
if ( resource[ 0 ] != '/' && strchr( resource, ':' ) == NULL )
if ( resource[0] != '/' && resource[0] != '\\' && !strchr( resource, ':' ) )
{
if ( !strncmp( resource_orig, "plain:", 6 ) )
strcat( full_resource, "plain:" );
Expand Down

0 comments on commit 2f37f24

Please sign in to comment.