]> git.sesse.net Git - vlc/blobdiff - plugins/vcd/input_vcd.c
* Fixed a total breakage of decoder plugins introduced by fast_memcpy.
[vlc] / plugins / vcd / input_vcd.c
index 7f644ed7f36983dc433538c2f4376abd18e5a379..4cb3920988b9bbba7b506e8122fa7e50e0fa0af4 100644 (file)
@@ -50,8 +50,6 @@
 #   include <sys/uio.h>                                      /* struct iovec */
 #endif
 
-
-#include "config.h"
 #include "common.h"
 #include "intf_msg.h"
 #include "threads.h"
@@ -62,8 +60,6 @@
 #   include "input_iovec.h"
 #endif
 
-#include "main.h"
-
 #include "stream_control.h"
 #include "input_ext-intf.h"
 #include "input_ext-dec.h"
@@ -598,8 +594,8 @@ static int VCDRead( input_thread_t * p_input,
     
             if( U32_AT(p_buffer) != 0x1B9 )
             {
-                pf_fast_memcpy( p_data->p_buffer, p_buffer + i_index,
-                                6 + i_packet_size );
+                p_main->fast_memcpy( p_data->p_buffer, p_buffer + i_index,
+                                     6 + i_packet_size );
                 i_index += ( 6 + i_packet_size );
     
             }