[Mplayer-cvslog] CVS: main/postproc swscale_template.c,1.90,1.91 postprocess_template.c,1.67,1.68

Michael Niedermayer CVS michael at mplayerhq.hu
Sat Nov 23 11:58:39 CET 2002


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

Modified Files:
	swscale_template.c postprocess_template.c 
Log Message:
warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)


Index: swscale_template.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/swscale_template.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- swscale_template.c	13 Oct 2002 17:23:02 -0000	1.90
+++ swscale_template.c	23 Nov 2002 10:58:05 -0000	1.91
@@ -1256,7 +1256,9 @@
 static inline void RENAME(yuv2packed1)(SwsContext *c, uint16_t *buf0, uint16_t *uvbuf0, uint16_t *uvbuf1,
 			    uint8_t *dest, int dstW, int uvalpha, int dstFormat, int flags, int y)
 {
+#ifdef HAVE_MMX
 	int uvalpha1=uvalpha^4095;
+#endif
 	const int yalpha1=0;
 	int i;
 	

Index: postprocess_template.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/postprocess_template.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- postprocess_template.c	31 Oct 2002 01:42:59 -0000	1.67
+++ postprocess_template.c	23 Nov 2002 10:58:05 -0000	1.68
@@ -2658,7 +2658,10 @@
 	int black=0, white=255; // blackest black and whitest white in the picture
 	int QPCorrecture= 256*256;
 
-	int copyAhead, i;
+	int copyAhead;
+#ifdef HAVE_MMX
+	int i;
+#endif
 
 	//FIXME remove
 	uint64_t * const yHistogram= c.yHistogram;




More information about the MPlayer-cvslog mailing list