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/video_out/yuv2rgb.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/video_out/yuv2rgb.c')
-rw-r--r-- | src/video_out/yuv2rgb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_out/yuv2rgb.c b/src/video_out/yuv2rgb.c index 16aaa5e5e..e67743599 100644 --- a/src/video_out/yuv2rgb.c +++ b/src/video_out/yuv2rgb.c @@ -22,7 +22,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: yuv2rgb.c,v 1.29 2002/02/26 22:53:58 guenter Exp $ + * $Id: yuv2rgb.c,v 1.30 2002/04/29 23:32:00 jcdutton Exp $ */ #include "config.h" @@ -2321,7 +2321,7 @@ static void yuv2rgb_setup_tables (yuv2rgb_factory_t *this, int mode, int swapped default: fprintf (stderr, "mode %d not supported by yuv2rgb\n", mode); - exit (1); + abort(); } for (i = 0; i < 256; i++) { @@ -2451,7 +2451,7 @@ static void yuv2rgb_c_init (yuv2rgb_factory_t *this) default: printf ("yuv2rgb: mode %d not supported by yuv2rgb\n", this->mode); - exit (1); + abort(); } } @@ -2494,7 +2494,7 @@ static void yuv2rgb_single_pixel_init (yuv2rgb_factory_t *this) { default: printf ("yuv2rgb: mode %d not supported by yuv2rgb\n", this->mode); - exit (1); + abort(); } } |