summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-22 17:17:29 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-22 17:17:29 +0000
commit429c2810c98c2727923ee2ac4546fc72365e4b15 (patch)
tree64e3a0d64d1b7267b9701a44b59d732792337481 /mplayer.c
parentfc377acae2fa9629d79c30383dabd12ac32d4d9c (diff)
downloadmpv-429c2810c98c2727923ee2ac4546fc72365e4b15.tar.bz2
mpv-429c2810c98c2727923ee2ac4546fc72365e4b15.tar.xz
memcpy->memove (overlapping blocks)
patch by Sidik Isani <lksi@cfht.hawaii.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7487 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 127453d272..aff9f6bcff 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1500,7 +1500,7 @@ while(sh_audio){
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);
}