changeset 23459:2c09fe135c93

Do not use fast_memcpy when data is read again immediately afterwards.
author reimar
date Tue, 05 Jun 2007 15:09:51 +0000
parents 973e53dc7df5
children 44746cbd4e5b
files libmpcodecs/vd_mtga.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_mtga.c	Tue Jun 05 15:09:49 2007 +0000
+++ b/libmpcodecs/vd_mtga.c	Tue Jun 05 15:09:51 2007 +0000
@@ -115,10 +115,10 @@
 		// 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 */