[MPlayer-cvslog] CVS: main/vidix/drivers nvidia_vid.c,1.33,1.34
Diego Biurrun CVS
syncmail at mplayerhq.hu
Thu Apr 27 19:20:04 CEST 2006
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var2/tmp/cvs-serv11140/vidix/drivers
Modified Files:
nvidia_vid.c
Log Message:
Remove unnecessary le2me_32 macros.
Index: nvidia_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/nvidia_vid.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- nvidia_vid.c 9 Feb 2006 18:17:04 -0000 1.33
+++ nvidia_vid.c 27 Apr 2006 17:20:01 -0000 1.34
@@ -217,9 +217,9 @@
#define VID_RD08(p,i) ({ MEM_BARRIER(); ((uint8_t *)(p))[(i)]; })
#undef VID_WR32
-#define VID_WR32(p,i,val) ({ MEM_BARRIER(); ((uint32_t *)(p))[(i)/4]=le2me_32(val); })
+#define VID_WR32(p,i,val) ({ MEM_BARRIER(); ((uint32_t *)(p))[(i)/4]=val; })
#undef VID_RD32
-#define VID_RD32(p,i) ({ MEM_BARRIER(); le2me_32(((uint32_t *)(p))[(i)/4]); })
+#define VID_RD32(p,i) ({ MEM_BARRIER(); ((uint32_t *)(p))[(i)/4]; })
#define VID_AND32(p,i,val) VID_WR32(p,i,VID_RD32(p,i)&(val))
#define VID_OR32(p,i,val) VID_WR32(p,i,VID_RD32(p,i)|(val))
More information about the MPlayer-cvslog
mailing list