Commit 68426d37 authored by Rafaël Carré's avatar Rafaël Carré

swscale: remove useless global function pointer

parent c7f19291
......@@ -76,8 +76,6 @@ vlc_module_end ()
* Local prototypes
****************************************************************************/
void *( *swscale_fast_memcpy )( void *, const void *, size_t );
/**
* Internal swscale filter structure.
*/
......@@ -156,9 +154,6 @@ static int OpenScaler( vlc_object_t *p_this )
if( ( p_filter->p_sys = p_sys = malloc(sizeof(filter_sys_t)) ) == NULL )
return VLC_ENOMEM;
/* FIXME pointer assignment may not be atomic */
swscale_fast_memcpy = vlc_memcpy;
/* Set CPU capabilities */
p_sys->i_cpu_mask = GetSwsCpuMask();
......
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