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/demuxers/demux_pes.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/demuxers/demux_pes.c')
-rw-r--r-- | src/demuxers/demux_pes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_pes.c b/src/demuxers/demux_pes.c index 1d5a3f58f..c70e52292 100644 --- a/src/demuxers/demux_pes.c +++ b/src/demuxers/demux_pes.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: demux_pes.c,v 1.25 2002/04/23 13:30:42 esnel Exp $ + * $Id: demux_pes.c,v 1.26 2002/04/29 23:31:59 jcdutton Exp $ * * demultiplexer for mpeg 2 PES (Packetized Elementary Streams) * reads streams of variable blocksizes @@ -105,7 +105,7 @@ static uint32_t read_bytes (demux_pes_t *this, int n) { break; default: printf ("demux_pes: how how - something wrong in wonderland demux:read_bytes (%d)\n", n); - exit (1); + abort(); } return res; @@ -488,7 +488,7 @@ static void demux_pes_start (demux_plugin_t *this_gen, NULL, demux_pes_loop, this)) != 0) { printf ("demux_pes: can't create new thread (%s)\n", strerror(err)); - exit (1); + abort(); } } else { |