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
This commit is contained in:
reimar 2007-06-05 15:09:51 +00:00
parent 5d02058b47
commit 5bddf1de61
1 changed files with 2 additions and 2 deletions

View File

@ -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! // Note: this will be slow when DR to vram!
i=num_bytes; i=num_bytes;
while(2*i<=replen){ while(2*i<=replen){
fast_memcpy(final+i,final,i); memcpy(final+i,final,i);
i*=2; i*=2;
} }
fast_memcpy(final+i,final,replen-i); memcpy(final+i,final,replen-i);
data += num_bytes; data += num_bytes;
} }
else /* raw packet */ else /* raw packet */