From b58bd413b6b164df7046902ed02ae27362dbeef1 Mon Sep 17 00:00:00 2001 From: James Stembridge Date: Thu, 20 Feb 2003 11:40:13 +0000 Subject: Fix copy of yuy2 frame by slices when frame height is not a multiple of 16 CVS patchset: 4215 CVS date: 2003/02/20 11:40:13 --- src/xine-engine/video_out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index 3ef7d4f7f..b48fd26df 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.142 2003/02/18 18:36:30 mroi Exp $ + * $Id: video_out.c,v 1.143 2003/02/20 11:40:13 jstembridge Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -236,7 +236,7 @@ static void vo_frame_driver_copy(vo_frame_t *img) src[0] = img->base[0]; - while ((height -= 16) >= 0) { + while ((height -= 16) > -16) { img->copy(img, src); src[0] += 16 * img->pitches[0]; } -- cgit v1.2.3