[vlc-devel] commit: Remove pf_memcpy and pf_memset from libvlc ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat May 3 16:25:24 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat May 3 17:20:43 2008 +0300| [b89d540af12211361bfaa82a200872b3ba4f0eb0]
Remove pf_memcpy and pf_memset from libvlc
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b89d540af12211361bfaa82a200872b3ba4f0eb0
---
include/vlc_main.h | 2 --
src/libvlc-common.c | 10 ----------
2 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/include/vlc_main.h b/include/vlc_main.h
index 4892e1d..c78da79 100644
--- a/include/vlc_main.h
+++ b/include/vlc_main.h
@@ -67,8 +67,6 @@ struct libvlc_int_t
bool b_color; ///< color messages?
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 ?
vlc_mutex_t timer_lock; ///< Lock to protect timers
diff --git a/src/libvlc-common.c b/src/libvlc-common.c
index e882f76..89a5cde 100644
--- a/src/libvlc-common.c
+++ b/src/libvlc-common.c
@@ -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 );
- 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->i_timers = 0;
p_libvlc->pp_timers = NULL;
More information about the vlc-devel
mailing list