]> git.sesse.net Git - vlc/blobdiff - plugins/mpeg/input_ts.h
* Borrowed MPlayer's fast memcpy() routines. Best is autodetected, choose
[vlc] / plugins / mpeg / input_ts.h
index 0bd8def0beb13c697dd0838540c839046303e704..d58a4eade1e70c3f7efded25d0c7860873ac3ab6 100644 (file)
@@ -2,7 +2,7 @@
  * input_ts.h: structures of the input not exported to other modules
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: input_ts.h,v 1.10 2001/07/12 23:06:54 gbazin Exp $
+ * $Id: input_ts.h,v 1.11 2001/12/03 16:18:37 sam Exp $
  *
  * Authors: Henri Fallon <henri@via.ecp.fr>
  *          Boris Dorès <babal@via.ecp.fr>
@@ -71,7 +71,7 @@ static __inline__ int read_network( int i_fd, char * p_base,
          i_bytes = p_sys->i_length - p_sys->i_offset;
     }
 
-    memcpy( p_base, p_sys->p_buffer + p_sys->i_offset, i_bytes );
+    pf_fast_memcpy( p_base, p_sys->p_buffer + p_sys->i_offset, i_bytes );
     p_sys->i_offset += i_bytes;
 
     return i_bytes;