[vlc-commits] swscale: remove useless global function pointer

Rafaël Carré git at videolan.org
Mon Jul 2 13:15:20 CEST 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Jul  2 13:09:05 2012 +0200| [68426d3740bb258d8743ac7a713c177defad2fa4] | committer: Rafaël Carré

swscale: remove useless global function pointer

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=68426d3740bb258d8743ac7a713c177defad2fa4
---

 modules/video_filter/swscale.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/video_filter/swscale.c b/modules/video_filter/swscale.c
index 278dccf..5678d02 100644
--- a/modules/video_filter/swscale.c
+++ b/modules/video_filter/swscale.c
@@ -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();
 



More information about the vlc-commits mailing list