* Preamble
*****************************************************************************/
-#include <vlc/vlc.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <vlc_common.h>
+#include <vlc_plugin.h>
#ifdef HAVE_ALTIVEC_H
# include <altivec.h>
*****************************************************************************/
static int Activate ( vlc_object_t *p_this )
{
- p_this->p_libvlc->pf_memcpy = fast_memcpy;
+ vlc_fastmem_register( fast_memcpy, NULL );
return VLC_SUCCESS;
}
* Module descriptor.
*****************************************************************************/
vlc_module_begin();
- set_description( _("AltiVec memcpy") );
+ set_description( N_("AltiVec memcpy") );
set_category( CAT_ADVANCED );
set_subcategory( SUBCAT_ADVANCED_MISC );
add_requirement( ALTIVEC );