[MPlayer-dev-eng] PostProcess SegFault fix 3

Arpi arpi at thot.banki.hu
Thu Sep 27 20:56:37 CEST 2001


Hi,

> 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]);
> 

Yes, it seems to be ok. Applied.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list