diff options
Diffstat (limited to 'libmpcodecs/vf_pp7.c')
-rw-r--r-- | libmpcodecs/vf_pp7.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/vf_pp7.c b/libmpcodecs/vf_pp7.c index cecb4c4423..1624787274 100644 --- a/libmpcodecs/vf_pp7.c +++ b/libmpcodecs/vf_pp7.c @@ -290,15 +290,15 @@ static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stri if (!src || !dst) return; // HACK avoid crash for Y8 colourspace for(y=0; y<height; y++){ int index= 8 + 8*stride + y*stride; - memcpy(p_src + index, src + y*src_stride, width); + fast_memcpy(p_src + index, src + y*src_stride, width); for(x=0; x<8; x++){ p_src[index - x - 1]= p_src[index + x ]; p_src[index + width + x ]= p_src[index + width - x - 1]; } } for(y=0; y<8; y++){ - memcpy(p_src + ( 7-y)*stride, p_src + ( y+8)*stride, stride); - memcpy(p_src + (height+8+y)*stride, p_src + (height-y+7)*stride, stride); + fast_memcpy(p_src + ( 7-y)*stride, p_src + ( y+8)*stride, stride); + fast_memcpy(p_src + (height+8+y)*stride, p_src + (height-y+7)*stride, stride); } //FIXME (try edge emu) |