Commit db9fe080 authored by Stan Seibert's avatar Stan Seibert

ogg123 behavior is now to overwrite existing output files

svn path=/trunk/vorbis-tools/; revision=1840
parent 83393a94
......@@ -53,7 +53,7 @@ section for a list of devices. Any number of devices may be specified.
Specify output file for file devices. The filename "-" writes to standard
out. If the file already exists,
.B ogg123
will abort.
will overwrite it.
.IP "-h, --help"
Show command help.
.IP "-k n, --skip n"
......
......@@ -14,7 +14,7 @@
* *
********************************************************************
last mod: $Id: ogg123.c,v 1.46 2001/08/13 02:10:39 volsung Exp $
last mod: $Id: ogg123.c,v 1.47 2001/08/13 04:40:01 volsung Exp $
********************************************************************/
......@@ -615,7 +615,7 @@ int open_audio_devices(ogg123_options_t *opt, int rate, int channels, buf_t **bu
current->options);
else
current->device = ao_open_file(current->driver_id, current->filename,
0, &format, current->options);
1, &format, current->options);
if (current->device == NULL) {
switch (errno) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment