[flac-dev] "Compression failed" message

lvqcl lvqcl.mail at gmail.com
Sat Feb 1 00:06:32 PST 2014

Erik de Castro Lopo wrote:

>> Sure. But maybe it makes sense to write "WARNING" instead of an "ERROR"?
> Well its an ERROR because the flac executable will exit with a non-zero
> exit code, so this condition can be caught in for example a shell script.
> If its only a warning, why would the executable return non-zero?

But why should it return non-zero exit code?

The input files are valid, all calculations are valid, but FLAC returns an error...
IMHO it's counter-intuitive: I can't find another lossless encoder or
general-purpose file archiver that works in the same way.

More information about the flac-dev mailing list