Mercurial > mplayer.hg
changeset 7486:8dcbed9ff5db
memcpy->memove (overlapping blocks)
patch by Sidik Isani <lksi@cfht.hawaii.edu>
author | arpi |
---|---|
date | Sun, 22 Sep 2002 17:17:29 +0000 |
parents | d772e0caac7b |
children | e60109dfc85c |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Sun Sep 22 16:37:08 2002 +0000 +++ b/mplayer.c Sun Sep 22 17:17:29 2002 +0000 @@ -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); }