From 0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Mon, 29 Apr 2002 23:31:59 +0000 Subject: 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 --- src/xine-engine/video_out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xine-engine/video_out.c') diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index 43ccff317..40b98ad93 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.93 2002/04/09 03:38:01 miguelfreitas Exp $ + * $Id: video_out.c,v 1.94 2002/04/29 23:32:00 jcdutton Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -1003,7 +1003,7 @@ vo_instance_t *vo_new_instance (vo_driver_t *driver, xine_t *xine) { strerror(err)); /* FIXME: how does this happen ? */ printf (_("video_out: sorry, this should not happen. please restart xine.\n")); - exit(1); + abort(); } else printf ("video_out: thread created\n"); -- cgit v1.2.3