]> git.sesse.net Git - mlt/blobdiff - src/modules/core/producer_loader.c
Initial port to Windows using MinGW.
[mlt] / src / modules / core / producer_loader.c
index 35229d22e10ba8cff5c2d9c33421336d3b257974..2600b62cc46b6374ea85a9fc916dd2b3921051d8 100644 (file)
@@ -53,7 +53,8 @@ static mlt_producer create_producer( mlt_profile profile, char *file )
        mlt_producer result = NULL;
 
        // 1st Line - check for service:resource handling
-       if ( strchr( file, ':' ) )
+       // And ignore drive letters on Win32 - no single char services supported.
+       if ( strchr( file, ':' ) > file + 1 )
        {
                char *temp = strdup( file );
                char *service = temp;