projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
textbox/suggestion fixups, update to lossless, canvas scaling
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
asset.C
diff --git
a/cinelerra-5.1/cinelerra/asset.C
b/cinelerra-5.1/cinelerra/asset.C
index fd17a1422a89b9bfdcca138e25f47ab5085b9f85..3133649b9ae161077c3b1afdb49e8327452c9213 100644
(file)
--- a/
cinelerra-5.1/cinelerra/asset.C
+++ b/
cinelerra-5.1/cinelerra/asset.C
@@
-332,11
+332,13
@@
int Asset::equivalent(Asset &asset, int test_audio, int test_video, EDL *edl)
if( out_path ) {
if( *apath != '/' ) {
char *cp = cstrcat(2, out_path, apath);
if( out_path ) {
if( *apath != '/' ) {
char *cp = cstrcat(2, out_path, apath);
- delete [] apath; apath = cp;
+ delete [] apath; apath = FileSystem::basepath(cp);
+ delete [] cp;
}
if( *tpath != '/' ) {
char *cp = cstrcat(2, out_path, tpath);
}
if( *tpath != '/' ) {
char *cp = cstrcat(2, out_path, tpath);
- delete [] tpath; tpath = cp;
+ delete [] tpath; tpath = FileSystem::basepath(cp);
+ delete [] cp;
}
}
if( strcmp(apath, tpath) ) result = 1;
}
}
if( strcmp(apath, tpath) ) result = 1;