From 194e066b615057f168aec6623138abb0b057551e Mon Sep 17 00:00:00 2001 From: raster Date: Sat, 26 Mar 2005 15:49:17 +0000 Subject: [PATCH] segv waiting to happen git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@13923 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/xine/emotion_xine_vo_out.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/xine/emotion_xine_vo_out.c b/src/modules/xine/emotion_xine_vo_out.c index 037af69..08224f3 100644 --- a/src/modules/xine/emotion_xine_vo_out.c +++ b/src/modules/xine/emotion_xine_vo_out.c @@ -522,6 +522,8 @@ static void _emotion_overlay_blend_yuv(uint8_t *dst_base[3], vo_overlay_t * img_ int clip_right; uint8_t clr=0; + if (!rle) return; + uint8_t *dst_y = dst_base[0] + dst_pitches[0] * y_off + x_off; uint8_t *dst_cr = dst_base[2] + (y_off / 2) * dst_pitches[1] + (x_off / 2) + 1; uint8_t *dst_cb = dst_base[1] + (y_off / 2) * dst_pitches[2] + (x_off / 2) + 1; -- 2.7.4