From 5d02058b47aadcc384ddd02083b8ee0639fb2592 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 5 Jun 2007 15:09:49 +0000 Subject: Do not use fast_memcpy for small size copy, esp. when the size is constant git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index efec45eb14..089473711a 100644 --- a/mencoder.c +++ b/mencoder.c @@ -771,7 +771,7 @@ case VCODEC_COPY: if (!curfile) { if (sh_video->bih) { mux_v->bih=malloc(sh_video->bih->biSize); - fast_memcpy(mux_v->bih, sh_video->bih, sh_video->bih->biSize); + memcpy(mux_v->bih, sh_video->bih, sh_video->bih->biSize); } else { @@ -941,7 +941,7 @@ case ACODEC_COPY: } if (sh_audio->wf){ mux_a->wf=malloc(sizeof(WAVEFORMATEX) + sh_audio->wf->cbSize); - fast_memcpy(mux_a->wf, sh_audio->wf, sizeof(WAVEFORMATEX) + sh_audio->wf->cbSize); + memcpy(mux_a->wf, sh_audio->wf, sizeof(WAVEFORMATEX) + sh_audio->wf->cbSize); if(!sh_audio->i_bps) sh_audio->i_bps=mux_a->wf->nAvgBytesPerSec; } else { mux_a->wf = malloc(sizeof(WAVEFORMATEX)); -- cgit v1.2.3