changeset 1633:742d9e286b5d

exit->return
author arpi
date Wed, 22 Aug 2001 20:14:10 +0000
parents 77cf72182c7f
children 3249bbc48bf9
files libvo/vo_syncfb.c libvo/yuv2rgb.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_syncfb.c	Wed Aug 22 19:43:23 2001 +0000
+++ b/libvo/vo_syncfb.c	Wed Aug 22 20:14:10 2001 +0000
@@ -376,7 +376,7 @@
 		printf("using palette yuv422\n");
 	} else {
 		printf("no supported palette found\n");
-		exit(1);
+		return -1;
 	}
 
 	// config.src_palette= VIDEO_PALETTE_YUV422;
--- a/libvo/yuv2rgb.c	Wed Aug 22 19:43:23 2001 +0000
+++ b/libvo/yuv2rgb.c	Wed Aug 22 20:14:10 2001 +0000
@@ -402,7 +402,7 @@
 
     default:
 	printf ("%ibpp not supported by yuv2rgb\n", bpp);
-	exit (1);
+	//exit (1);
     }
 
     for (i = 0; i < 256; i++) {