From b376f271c4a2140b364901bd50a1da8fe1645c4b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 29 Nov 2023 05:42:31 +0100 Subject: [PATCH] AAF import tool: fix windows builds --- session_utils/new_aaf_session.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/session_utils/new_aaf_session.cc b/session_utils/new_aaf_session.cc index 9a96c64f5f..d5ca55eda5 100644 --- a/session_utils/new_aaf_session.cc +++ b/session_utils/new_aaf_session.cc @@ -657,8 +657,7 @@ prepare_cache (AAF_Iface* aafi, string* media_cache_path) *media_cache_path = testdir; - if (mkdir ((*media_cache_path).c_str (), 0760) < 0) { - // if ( g_mkdir_with_parents( (*media_cache_path).c_str(), 0760 ) < 0 ) { + if (g_mkdir_with_parents ((*media_cache_path).c_str (), 0760) < 0) { PBD::error << string_compose ("Could not create cache directory at '%1' : %2", (*media_cache_path), strerror (errno)) << endmsg; return -1; }