[Mplayer-cvslog] CVS: main/libaf af_format.c,1.13,1.14
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sun May 16 18:21:36 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libaf
In directory mail:/var2/tmp/cvs-serv14374
Modified Files:
af_format.c
Log Message:
fix endian conversion for (curently unused) case where in buffer != out buffer
Index: af_format.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_format.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- af_format.c 16 May 2004 10:48:59 -0000 1.13
+++ af_format.c 16 May 2004 16:21:33 -0000 1.14
@@ -391,6 +391,8 @@
for(i=0;i<len;i++){
s=((uint8_t*)in)[3*i];
((uint8_t*)out)[3*i]=((uint8_t*)in)[3*i+2];
+ if (in != out)
+ ((uint8_t*)out)[3*i+1]=((uint8_t*)in)[3*i+1];
((uint8_t*)out)[3*i+2]=s;
}
break;
More information about the MPlayer-cvslog
mailing list