[MPlayer-cvslog] r23477 - trunk/libmpcodecs/vd_mtga.c

reimar subversion at mplayerhq.hu
Tue Jun 5 17:09:51 CEST 2007


Author: reimar
Date: Tue Jun  5 17:09:51 2007
New Revision: 23477

Log:
Do not use fast_memcpy when data is read again immediately afterwards.


Modified:
   trunk/libmpcodecs/vd_mtga.c

Modified: trunk/libmpcodecs/vd_mtga.c
==============================================================================
--- trunk/libmpcodecs/vd_mtga.c	(original)
+++ trunk/libmpcodecs/vd_mtga.c	Tue Jun  5 17:09:51 2007
@@ -115,10 +115,10 @@ static void decode_rle_tga(TGAInfo *info
 		// 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 */



More information about the MPlayer-cvslog mailing list