[MPlayer-dev-eng] [PATCH][FOR REAL] vf_mpi_clear endianess patch

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu May 6 23:31:55 CEST 2004


Hi,

these loop borders seem fishy to me. Could somebody verify them?

> -	        for(i=0;i<size;i+=4) p[i]=p[i+1]=p[i+2]=p[i+3]=0x00800080;
> -		for(;i<size;i++) p[i]=0x00800080;

I think it should be
for(i=0;i+3<size;i+=4) p[i]=p[i+1]=p[i+2]=p[i+3]=0x00800080;
for(;i<size;i++) p[i]=0x00800080;

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list