[Scummvm-cvs-logs] CVS: tools compress.c,1.8,1.9

Eugene Sandulenko sev at users.sourceforge.net
Wed Oct 12 16:03:17 CEST 2005


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5267

Modified Files:
	compress.c 
Log Message:
Fox bug #1294648 "TOOLS: Error when compressing SOU with FLAC"


Index: compress.c
===================================================================
RCS file: /cvsroot/scummvm/tools/compress.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- compress.c	9 Jun 2005 12:38:44 -0000	1.8
+++ compress.c	12 Oct 2005 23:01:22 -0000	1.9
@@ -169,7 +169,8 @@
 
 	case kFlacMode:
 		/* --lax is needed to allow 11kHz, we dont need place for meta-tags, and no seektable */
-		tmp += sprintf(tmp, "flac --lax --no-padding --no-seektable --no-ogg " );
+		/* -f is reqired to force override of unremoved temp file. See bug #1294648 */
+		tmp += sprintf(tmp, "flac -f --lax --no-padding --no-seektable --no-ogg " );
 
 		if (rawInput) {
 			tmp += sprintf(tmp, "--force-raw-format --sign=unsigned ");





More information about the Scummvm-git-logs mailing list