Fix a call to 'access()' by adding a call to 'uriDecodeString()'

For testing - needs to be checked by Adrien and will most likely be needed for other calls to 'access()'
This commit is contained in:
John Emmas 2023-12-13 16:07:31 +00:00
parent 92d6cb9933
commit 9f3438b2bc
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ aafi_locate_external_essence_file (AAF_Iface* aafi, const wchar_t* original_uri_
// debug( "Search filepath : %s", fpath );
if (access (local_filepath, F_OK) != -1) {
/* JE - for testing !!!! (added call to uriDecodeString() */ if (access (uriDecodeString(local_filepath, NULL), F_OK) != -1) {
// debug( "FOUND: %s", local_filepath );
retpath = local_filepath;
goto found;