projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
background renderer hang fixes
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
filempeg.C
diff --git
a/cinelerra-5.1/cinelerra/filempeg.C
b/cinelerra-5.1/cinelerra/filempeg.C
index 5c9b9bd3463cb0da38521906a08460ce45ac231a..8ddf44f17c67195c7fa4c4091b869a61b5d6f567 100644
(file)
--- a/
cinelerra-5.1/cinelerra/filempeg.C
+++ b/
cinelerra-5.1/cinelerra/filempeg.C
@@
-792,7
+792,8
@@
int FileMPEG::create_toc(char *toc_path)
// delete any existing toc files
char toc_file[BCTEXTLEN];
strcpy(toc_file, toc_path);
// delete any existing toc files
char toc_file[BCTEXTLEN];
strcpy(toc_file, toc_path);
- remove(toc_file);
+ if( strcmp(toc_file, asset->path) )
+ remove(toc_file);
char *bp = strrchr(toc_file, '/');
if( !bp ) bp = toc_file;
char *sfx = strrchr(bp,'.');
char *bp = strrchr(toc_file, '/');
if( !bp ) bp = toc_file;
char *sfx = strrchr(bp,'.');