Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/modules/xine


Modified Files:
        emotion_xine_vo_out.c 


Log Message:


segv waiting to happen

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/emotion/src/modules/xine/emotion_xine_vo_out.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- emotion_xine_vo_out.c       12 Jan 2005 11:35:04 -0000      1.4
+++ emotion_xine_vo_out.c       26 Mar 2005 15:49:17 -0000      1.5
@@ -522,6 +522,8 @@
    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;




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to