]> git.sesse.net Git - mlt/blobdiff - src/modules/core/transition_luma.c
move binary modules to libdir - affects MLT_REPOSITORY
[mlt] / src / modules / core / transition_luma.c
index a553836c14216bda80e8825f471663e39b1aa1e7..55e9e3efe72a5e8198dbcd7442a2a527d24064b7 100644 (file)
@@ -397,7 +397,7 @@ static int transition_get_image( mlt_frame a_frame, uint8_t **image, mlt_image_f
                if ( strchr( resource, '%' ) )
                {
                        FILE *test;
-                       sprintf( temp, "%s/lumas/%s/%s", mlt_factory_prefix( ), mlt_environment( "MLT_NORMALISATION" ), strchr( resource, '%' ) + 1 );
+                       sprintf( temp, "%s/lumas/%s/%s", mlt_environment( "MLT_DATA" ), mlt_environment( "MLT_NORMALISATION" ), strchr( resource, '%' ) + 1 );
                        test = fopen( temp, "r" );
                        if ( test == NULL )
                                strcat( temp, ".png" );