projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
cache.C
diff --git
a/cinelerra-5.1/cinelerra/cache.C
b/cinelerra-5.1/cinelerra/cache.C
index de8563a96e26013cdcb599b34e29c5651847bf37..63bb4a0de4b32e9e5b9dcb0480c4f751c0f933c2 100644
(file)
--- a/
cinelerra-5.1/cinelerra/cache.C
+++ b/
cinelerra-5.1/cinelerra/cache.C
@@
-125,8
+125,9
@@
SET_TRACE
int CICache::check_in(Asset *asset)
{
total_lock->lock("CICache::check_in");
int CICache::check_in(Asset *asset)
{
total_lock->lock("CICache::check_in");
+ CICacheItem *current = 0;
if( !check_outs ) {
if( !check_outs ) {
-
CICacheItem *
current = first;
+ current = first;
while(current && strcmp(current->asset->path, asset->path) != 0)
current = NEXT;
if(current && current->checked_out) {
while(current && strcmp(current->asset->path, asset->path) != 0)
current = NEXT;
if(current && current->checked_out) {