diff options
Diffstat (limited to 'src/libvfill/xine_decoder.c')
-rw-r--r-- | src/libvfill/xine_decoder.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libvfill/xine_decoder.c b/src/libvfill/xine_decoder.c index dbe834467..658cfed6b 100644 --- a/src/libvfill/xine_decoder.c +++ b/src/libvfill/xine_decoder.c @@ -31,6 +31,7 @@ #include "video_out.h" #include "buffer.h" #include "xine_internal.h" +#include "memcpy.h" /* The videofill decoder's job in life is to copy the last frame displayed into * the current display queue, incrementing the PTS value accordingly. It probably @@ -78,9 +79,9 @@ static void videofill_decode_data (video_decoder_t *this_gen, buf_element_t *buf image_size = last_img->width * last_img->height; - memcpy(img->base[0], last_img->base[0], image_size); - memcpy(img->base[1], last_img->base[1], image_size >> 2); - memcpy(img->base[2], last_img->base[2], image_size >> 2); + fast_memcpy(img->base[0], last_img->base[0], image_size); + fast_memcpy(img->base[1], last_img->base[1], image_size >> 2); + fast_memcpy(img->base[2], last_img->base[2], image_size >> 2); img->PTS = 0; img->bad_frame = 0; |