[MPlayer-dev-eng] PostProcess SegFault fix 3

Ivan Kalvatchev iive at yahoo.com
Thu Sep 27 17:05:58 CEST 2001


I think that this may fix it:

--- postprocess.c.old	Sun Mar 11 05:59:26 2001
+++ postprocess.c.new	Tue Sep 25 22:47:31 2001
@@ -682,7 +682,7 @@
 		}
 
 		if (mode & PP_DERING_C) {
-			if ( (y%8) && (y-4)>5 )   {
+			if ( (y%8) && (y-9)>0 && (y+9)<vertical_size )  {
 				puc_flt = &((dst[i])[y*dst_stride]);  
 				QP_ptr  = &(QP_store[(y>>4)*QP_stride]);



__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com



More information about the MPlayer-dev-eng mailing list