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/libmpg123/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libmpg123/common.c') diff --git a/src/libmpg123/common.c b/src/libmpg123/common.c index 1c01d97c2..e23508812 100644 --- a/src/libmpg123/common.c +++ b/src/libmpg123/common.c @@ -50,7 +50,7 @@ int decode_header(struct frame *fr,unsigned long newhead) fr->lay = 4-((newhead>>17)&3); if( ((newhead>>10)&0x3) == 0x3) { fprintf(stderr,"Stream error\n"); - exit(1); + abort(); } if(fr->mpeg25) { fr->sampling_frequency = 6 + ((newhead>>10)&0x3); -- cgit v1.2.3