summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_syncfb.c2
-rw-r--r--libvo/yuv2rgb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_syncfb.c b/libvo/vo_syncfb.c
index 38d6487b54..d4f209de66 100644
--- a/libvo/vo_syncfb.c
+++ b/libvo/vo_syncfb.c
@@ -376,7 +376,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t
printf("using palette yuv422\n");
} else {
printf("no supported palette found\n");
- exit(1);
+ return -1;
}
// config.src_palette= VIDEO_PALETTE_YUV422;
diff --git a/libvo/yuv2rgb.c b/libvo/yuv2rgb.c
index 7993d09720..21101e306f 100644
--- a/libvo/yuv2rgb.c
+++ b/libvo/yuv2rgb.c
@@ -402,7 +402,7 @@ static void yuv2rgb_c_init (int bpp, int mode)
default:
printf ("%ibpp not supported by yuv2rgb\n", bpp);
- exit (1);
+ //exit (1);
}
for (i = 0; i < 256; i++) {