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

Michael Niedermayer CVS michael at mplayerhq.hu
Thu Jun 19 23:29:17 CEST 2003


Update of /cvsroot/mplayer/main/postproc
In directory mail:/var/tmp.root/cvs-serv28918

Modified Files:
	swscale.c 
Log Message:
fixing "internal error in orderYUV" bug


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)
 	{
 		sortedP[0]= p[0];
 		sortedP[1]= 
@@ -2096,6 +2096,7 @@
 	sws_orderYUV(c->origSrcFormat, src, srcStride, srcParam, srcStrideParam);
 	sws_orderYUV(c->origDstFormat, dst, dstStride, dstParam, dstStrideParam);
 //printf("sws: slice %d %d\n", srcSliceY, srcSliceH);
+
 	return c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
 }
 



More information about the MPlayer-cvslog mailing list