From 5bddf1de61e633671fb157bd4cb1260d2cc90856 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 5 Jun 2007 15:09:51 +0000 Subject: [PATCH] Do not use fast_memcpy when data is read again immediately afterwards. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23477 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_mtga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpcodecs/vd_mtga.c b/libmpcodecs/vd_mtga.c index c61492e6fc..f15c7345b9 100644 --- a/libmpcodecs/vd_mtga.c +++ b/libmpcodecs/vd_mtga.c @@ -115,10 +115,10 @@ static void decode_rle_tga(TGAInfo *info, unsigned char *data, mp_image_t *mpi) // Note: this will be slow when DR to vram! i=num_bytes; while(2*i<=replen){ - fast_memcpy(final+i,final,i); + memcpy(final+i,final,i); i*=2; } - fast_memcpy(final+i,final,replen-i); + memcpy(final+i,final,replen-i); data += num_bytes; } else /* raw packet */