diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-22 17:17:29 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-22 17:17:29 +0000 |
commit | 429c2810c98c2727923ee2ac4546fc72365e4b15 (patch) | |
tree | 64e3a0d64d1b7267b9701a44b59d732792337481 /mplayer.c | |
parent | fc377acae2fa9629d79c30383dabd12ac32d4d9c (diff) | |
download | mpv-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |