[Mplayer-cvslog] CVS: main mplayer.c,1.570,1.571
Arpi of Ize
arpi at mplayerhq.hu
Sun Sep 22 19:17:32 CEST 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv12912
Modified Files:
mplayer.c
Log Message:
memcpy->memove (overlapping blocks)
patch by Sidik Isani <lksi at cfht.hawaii.edu>
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.570
retrieving revision 1.571
diff -u -r1.570 -r1.571
--- mplayer.c 22 Sep 2002 15:37:51 -0000 1.570
+++ mplayer.c 22 Sep 2002 17:17:29 -0000 1.571
@@ -1500,7 +1500,7 @@
if(playsize>0){
sh_audio->a_buffer_len-=playsize;
- memcpy(sh_audio->a_buffer,&sh_audio->a_buffer[playsize],sh_audio->a_buffer_len);
+ memmove(sh_audio->a_buffer,&sh_audio->a_buffer[playsize],sh_audio->a_buffer_len);
sh_audio->timer+=playsize/(float)(sh_audio->o_bps);
}
More information about the MPlayer-cvslog
mailing list