X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_factory.c;h=699dca30898d3462a331bc27a0d2e1544c7f338a;hb=9963a6c9ec5fc7cf01d0932151aec4bcf4cc409b;hp=e7aac0f59d6a32e114685abbecbc5fefc1a41008;hpb=51de85d7a61e44bde5395629af348d9ca96ee13b;p=melted diff --git a/src/framework/mlt_factory.c b/src/framework/mlt_factory.c index e7aac0f..699dca3 100644 --- a/src/framework/mlt_factory.c +++ b/src/framework/mlt_factory.c @@ -47,7 +47,7 @@ int mlt_factory_init( char *prefix ) if ( mlt_prefix == NULL ) { // Allow user over rides - if ( prefix == NULL ) + if ( prefix == NULL || !strcmp( prefix, "" ) ) prefix = getenv( "MLT_REPOSITORY" ); // If no directory is specified, default to install directory