aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/vd_mpng.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vd_mpng.c')
-rw-r--r--libmpcodecs/vd_mpng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vd_mpng.c b/libmpcodecs/vd_mpng.c
index d8725f7c08..f4af973e8d 100644
--- a/libmpcodecs/vd_mpng.c
+++ b/libmpcodecs/vd_mpng.c
@@ -58,7 +58,7 @@ static void pngReadFN( png_structp pngstr,png_bytep buffer,png_size_t size )
{
char * p = pngstr->io_ptr;
if(size>pngLength-pngPointer && pngLength>=pngPointer) size=pngLength-pngPointer;
- memcpy( buffer,(char *)&p[pngPointer],size );
+ fast_memcpy( buffer,(char *)&p[pngPointer],size );
pngPointer+=size;
}