[MPlayer-cvslog] r37948 - trunk/libvo/vo_xv.c
al
subversion at mplayerhq.hu
Sat Aug 26 23:36:28 EEST 2017
Author: al
Date: Sat Aug 26 23:36:28 2017
New Revision: 37948
Log:
vo_xv: When copying planes use the associated pitch
This probably never mattered as the chroma planes probably always
had used the same pitch value in their layouts.
Modified:
trunk/libvo/vo_xv.c
Modified: trunk/libvo/vo_xv.c
==============================================================================
--- trunk/libvo/vo_xv.c Sat Aug 26 23:34:40 2017 (r37947)
+++ trunk/libvo/vo_xv.c Sat Aug 26 23:36:28 2017 (r37948)
@@ -409,7 +409,7 @@ static int draw_slice(uint8_t * image[],
dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[2] +
xvimage[current_buf]->pitches[2] * y + x;
- memcpy_pic(dst, image[idx_p2], w, h, xvimage[current_buf]->pitches[1],
+ memcpy_pic(dst, image[idx_p2], w, h, xvimage[current_buf]->pitches[2],
stride[idx_p2]);
break;
}
More information about the MPlayer-cvslog
mailing list