summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-22 20:14:10 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-22 20:14:10 +0000
commit2b48b538fec752d75524cba11d9ffd760737b7d9 (patch)
treece68da876350bb977b05b62f67ab191b898ecabc /libvo
parentb0dbb726dc7f50b35e129c39ecbc0536a9a3fbb1 (diff)
downloadmpv-2b48b538fec752d75524cba11d9ffd760737b7d9.tar.bz2
mpv-2b48b538fec752d75524cba11d9ffd760737b7d9.tar.xz
exit->return
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1634 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-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++) {