summaryrefslogtreecommitdiff
path: root/src/libvfill/xine_decoder.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-21 00:18:22 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-21 00:18:22 +0000
commitf6a5ce6f826295e677b55aebb9571db5fd17fe22 (patch)
treee2bfd362c831cf3b8441bdb9431e7d9725a5dfbc /src/libvfill/xine_decoder.c
parent9813284b8994e87505472857f5dacd903d4e234f (diff)
downloadxine-lib-f6a5ce6f826295e677b55aebb9571db5fd17fe22.tar.gz
xine-lib-f6a5ce6f826295e677b55aebb9571db5fd17fe22.tar.bz2
more memcpy stuff
CVS patchset: 846 CVS date: 2001/10/21 00:18:22
Diffstat (limited to 'src/libvfill/xine_decoder.c')
-rw-r--r--src/libvfill/xine_decoder.c7
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;