oggenc: leaves a file after trying to encode with invalid quality setting
This bug was copied from Debian BTS bug #157334:
When running oggenc with an invalid quality setting (like -3) it leaves
an empty file behind.
Example:
$ oggenc -q -3 foo.wav
Opening with wav module: WAV file reader
Encoding "foo.wav" to
"foo.ogg"
at quality -3.00
Mode initialisation failed: invalid parameters for quality
$ ls -l
total 54896
-rw-r--r-- 1 caereth caereth 0 2002-08-20 02:31 foo.ogg
-rw-r--r-- 1 caereth caereth 56149340 2002-08-20 02:31 foo.wav
$
I don't think that zero-size file should be left there..