Commit b89d540a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove pf_memcpy and pf_memset from libvlc

parent 5b55ee1b
...@@ -67,8 +67,6 @@ struct libvlc_int_t ...@@ -67,8 +67,6 @@ struct libvlc_int_t
bool b_color; ///< color messages? bool b_color; ///< color messages?
module_t * p_memcpy_module; ///< Fast memcpy plugin used module_t * p_memcpy_module; ///< Fast memcpy plugin used
void* ( *pf_memcpy ) ( void *, const void *, size_t ); ///< fast memcpy
void* ( *pf_memset ) ( void *, int, size_t ); ///< fast memset
bool b_stats; ///< Should we collect stats ? bool b_stats; ///< Should we collect stats ?
vlc_mutex_t timer_lock; ///< Lock to protect timers vlc_mutex_t timer_lock; ///< Lock to protect timers
......
...@@ -709,16 +709,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -709,16 +709,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
*/ */
p_libvlc->p_memcpy_module = module_Need( p_libvlc, "memcpy", "$memcpy", 0 ); p_libvlc->p_memcpy_module = module_Need( p_libvlc, "memcpy", "$memcpy", 0 );
if( p_libvlc->pf_memcpy == NULL )
{
p_libvlc->pf_memcpy = memcpy;
}
if( p_libvlc->pf_memset == NULL )
{
p_libvlc->pf_memset = memset;
}
p_libvlc->b_stats = config_GetInt( p_libvlc, "stats" ) > 0; p_libvlc->b_stats = config_GetInt( p_libvlc, "stats" ) > 0;
p_libvlc->i_timers = 0; p_libvlc->i_timers = 0;
p_libvlc->pp_timers = NULL; p_libvlc->pp_timers = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment