TOOLS: Error when compressing SOU with FLAC
|Reported by:||SF/cybermutant||Owned by:||sev-|
ScummVM 0.8.0 CVS (Sep 18, 2005) FLAC 1.1.2a
When using compress_scumm_sou with FLAC, compression stops with an error right after the first sample in the SOU file is converted, because "tempfile.fla" is not removed before starting conversion of the next sample and FLAC refuses to overwrite it. You need to pass the '-f' option to FLAC so that it overwrites tempfile.fla without error.
compress_scumm_sou should add '-f' to the commandline when calling the FLAC encoder, or rather delete tempfile.fla before invoking FLAC for the next sample in the SOU file.
This issue was previously reported in bug report #1144526, but it probably went unnoticed.
Ticket imported from: #1294648. Ticket imported from: bugs/2205.