summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_mtga.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-05 15:09:49 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-05 15:09:49 +0000
commit5d02058b47aadcc384ddd02083b8ee0639fb2592 (patch)
tree012a2b7c0682ecd178ea35cb12f086bc6d5cbc2c /libmpcodecs/vd_mtga.c
parent6a09e8e2ed913cb44d74cac9c9e7a4cf7f4a18c1 (diff)
downloadmpv-5d02058b47aadcc384ddd02083b8ee0639fb2592.tar.bz2
mpv-5d02058b47aadcc384ddd02083b8ee0639fb2592.tar.xz
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
Diffstat (limited to 'libmpcodecs/vd_mtga.c')
-rw-r--r--libmpcodecs/vd_mtga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vd_mtga.c b/libmpcodecs/vd_mtga.c
index f9f2301da2..c61492e6fc 100644
--- a/libmpcodecs/vd_mtga.c
+++ b/libmpcodecs/vd_mtga.c
@@ -110,7 +110,7 @@ static void decode_rle_tga(TGAInfo *info, unsigned char *data, mp_image_t *mpi)
if (packet_header & 0x80) /* runlength encoded packet */
{
- fast_memcpy(final, data, num_bytes);
+ memcpy(final, data, num_bytes);
// Note: this will be slow when DR to vram!
i=num_bytes;