[Mplayer-cvslog] CVS: main/libao2 pl_format.c,1.6,1.7
Arpi of Ize
arpi at mplayerhq.hu
Sun Feb 2 03:43:00 CET 2003
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv10040/libao2
Modified Files:
pl_format.c
Log Message:
compiler warning fixes patch by Dominik Mierzejewski <dominik at rangers.eu.org>
Index: pl_format.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/pl_format.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- pl_format.c 23 Aug 2002 01:41:12 -0000 1.6
+++ pl_format.c 2 Feb 2003 02:42:57 -0000 1.7
@@ -228,7 +228,7 @@
switch(pl_format.in&SIGN_MASK){
case(US):
for(i=0;i<len;i++)
- ((int32_t*)in_data)[i]=(int32_t)(-(1<<31-1)+((uint32_t*)in_data)[i]);
+ ((int32_t*)in_data)[i]=(int32_t)(((uint32_t*)in_data)[i]-0x80000000);
break;
case(SI):
for(i=0;i<len;i++)
More information about the MPlayer-cvslog
mailing list