[Mplayer-cvslog] CVS: main/postproc swscale.c,1.127,1.128

Alex Beregszaszi alex at fsn.hu
Fri Jun 20 12:56:18 CEST 2003


Hi,

> Index: swscale.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/postproc/swscale.c,v
> retrieving revision 1.127
> retrieving revision 1.128
> diff -u -r1.127 -r1.128
> --- swscale.c	1 Jun 2003 22:10:44 -0000	1.127
> +++ swscale.c	19 Jun 2003 21:28:56 -0000	1.128
> @@ -1466,7 +1466,7 @@
>  		sortedStride[1]= stride[2];
>  		sortedStride[2]= stride[1];
>  	}
> -	else if(isPacked(format) || isGray(format))
> +	else if(isPacked(format) || isGray(format) || format ==
> IMGFMT_Y8)
Why not fix isGray to return true for Y8 too?

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-cvslog mailing list