diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-04-29 23:31:59 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-04-29 23:31:59 +0000 |
commit | 0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d (patch) | |
tree | f421f82664a92fb2568fdbd76c13a31d4db6f5b7 /src/xine-engine/audio_out.c | |
parent | 7bfed2df7a422912d295348e100c73e8ee388216 (diff) | |
download | xine-lib-0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d.tar.gz xine-lib-0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d.tar.bz2 |
Replace all exit(1) with abort().
xine-lib should really never do an exit or abort, but instead pass back nice error values to the calling application, but until that happens, use abort() as that is tracable with gdb, whereas exit(1) is not backtraceable.
CVS patchset: 1811
CVS date: 2002/04/29 23:31:59
Diffstat (limited to 'src/xine-engine/audio_out.c')
-rw-r--r-- | src/xine-engine/audio_out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index dec239ab3..12f2bbf9c 100644 --- a/src/xine-engine/audio_out.c +++ b/src/xine-engine/audio_out.c @@ -17,7 +17,7 @@ * along with self program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.c,v 1.52 2002/04/14 00:24:45 guenter Exp $ + * $Id: audio_out.c,v 1.53 2002/04/29 23:32:00 jcdutton Exp $ * * 22-8-2001 James imported some useful AC3 sections from the previous alsa driver. * (c) 2001 Andy Lo A Foe <andy@alsaplayer.org> @@ -490,7 +490,7 @@ static int ao_open(ao_instance_t *this, printf ("audio_out: can't create thread (%s)\n", strerror(err)); printf ("audio_out: sorry, this should not happen. please restart xine.\n"); - exit(1); + abort(); } else printf ("audio_out: thread created\n"); |