X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcache.C;h=4c94adbfe78ba4f6a0616cd21094155b53a3df02;hb=096e197a21d85fa8c60547cd54944fb379c08bb9;hp=b8e2326dbc823d01aff508590875f8fb0ff420b3;hpb=8565f9650b0f5c8d922bcbc001fbc9aed8cd9d56;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/cache.C b/cinelerra-5.1/cinelerra/cache.C index b8e2326d..4c94adbf 100644 --- a/cinelerra-5.1/cinelerra/cache.C +++ b/cinelerra-5.1/cinelerra/cache.C @@ -82,8 +82,8 @@ File* CICache::check_out(Asset *asset, EDL *edl, int block) current = new CICacheItem(this, edl, asset); append(current); current->checked_out = tid; file = current->file; - total_lock->unlock(); int result = file->open_file(preferences, asset, 1, 0); + total_lock->unlock(); if( result ) { SET_TRACE delete file;