diff options
Diffstat (limited to 'src/video_out')
-rw-r--r-- | src/video_out/deinterlace.c | 2 | ||||
-rw-r--r-- | src/video_out/video_out_aa.c | 4 | ||||
-rw-r--r-- | src/video_out/video_out_opengl.c | 4 | ||||
-rw-r--r-- | src/video_out/video_out_syncfb.c | 8 | ||||
-rw-r--r-- | src/video_out/video_out_xv.c | 6 | ||||
-rw-r--r-- | src/video_out/yuv2rgb.c | 8 |
6 files changed, 16 insertions, 16 deletions
diff --git a/src/video_out/deinterlace.c b/src/video_out/deinterlace.c index 6434d2b25..5bc2b9991 100644 --- a/src/video_out/deinterlace.c +++ b/src/video_out/deinterlace.c @@ -707,7 +707,7 @@ static void abort_mmx_missing(void) { printf("deinterlace: Fatal error, MMX instruction set needed!\n"); /* FIXME: is it possible to call some "nicer" xine exit function? */ - _exit(1); + abort(); } /* generic YUV deinterlacer diff --git a/src/video_out/video_out_aa.c b/src/video_out/video_out_aa.c index d58f66370..16de5ab4f 100644 --- a/src/video_out/video_out_aa.c +++ b/src/video_out/video_out_aa.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_aa.c,v 1.18 2002/03/26 00:38:56 f1rmb Exp $ + * $Id: video_out_aa.c,v 1.19 2002/04/29 23:32:00 jcdutton Exp $ * * video_out_aa.c, ascii-art output plugin for xine * @@ -168,7 +168,7 @@ static void aa_update_frame_format (vo_driver_t *this, vo_frame_t *img, frame->vo_frame.base[0] = malloc_aligned(16,image_size, (void**) &frame->mem[0]); } else { printf ("alert! unsupported image format %04x\n", format); - exit (1); + abort(); } frame->ratio_code = ratio_code; diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c index fd759c679..11cb4fd28 100644 --- a/src/video_out/video_out_opengl.c +++ b/src/video_out/video_out_opengl.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_opengl.c,v 1.9 2002/04/26 17:19:04 jkeil Exp $ + * $Id: video_out_opengl.c,v 1.10 2002/04/29 23:32:00 jcdutton Exp $ * * video_out_glut.c, glut based OpenGL rendering interface for xine * Matthias Hopf <mat@mshopf.de> @@ -686,7 +686,7 @@ static void opengl_render_image (opengl_driver_t *this, opengl_frame_t *frame, */ if (! glXMakeCurrent (this->display, this->drawable, ctx)) { fprintf (stderr, "video_out_opengl: no OpenGL support available (glXMakeCurrent)\n The drawable does not seem to be updated correctly.\n"); - exit (1); + abort(); } DEBUGF ((stderr, "set context done\n")); if (ctx == this->context) diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c index 9a80b807d..71c78d983 100644 --- a/src/video_out/video_out_syncfb.c +++ b/src/video_out/video_out_syncfb.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_syncfb.c,v 1.64 2002/04/28 18:55:13 matt2000 Exp $ + * $Id: video_out_syncfb.c,v 1.65 2002/04/29 23:32:00 jcdutton Exp $ * * video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine * @@ -437,19 +437,19 @@ static void syncfb_update_frame_format (vo_driver_t *this_gen, if(frame->id < 0 ) { printf("video_out_syncfb: aborted. (shared memory error in shmget)\n"); - exit(1); + abort(); } frame->vo_frame.base[0] = shmat(frame->id, 0, 0); if(frame->vo_frame.base[0] == NULL) { printf("video_out_syncfb: failed. (shared memory error => address error)\n"); - exit(1); + abort(); } if(frame->vo_frame.base[0] == (void *) -1) { printf("video_out_syncfb: failed. (shared memory error => address error)\n"); - exit(1); + abort(); } shmctl(frame->id, IPC_RMID, 0); diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index 4d4fb3cbb..ef4f103f3 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.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_xv.c,v 1.113 2002/04/19 22:58:46 miguelfreitas Exp $ + * $Id: video_out_xv.c,v 1.114 2002/04/29 23:32:00 jcdutton Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -294,7 +294,7 @@ static XvImage *create_ximage (xv_driver_t *this, XShmSegmentInfo *shminfo, break; default: fprintf (stderr, "create_ximage: unknown format %08x\n",format); - exit (1); + abort(); } if (this->use_shm) { @@ -397,7 +397,7 @@ static XvImage *create_ximage (xv_driver_t *this, XShmSegmentInfo *shminfo, break; default: fprintf (stderr, "create_ximage: unknown format %08x\n",format); - exit (1); + abort(); } image = XvCreateImage (this->display, this->xv_port, 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(); } } |