From e4f6c3c47813518c9a9c1d54a10ff74721b183ac Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 1 Jun 2002 10:43:54 +0000 Subject: [PATCH] * ./plugins/chroma/i420_rgb16.c: fix for skewed display in software RV32 mode, courtesy of Pascal Levesque. --- plugins/chroma/i420_rgb16.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/chroma/i420_rgb16.c b/plugins/chroma/i420_rgb16.c index f6786314c4..13f801b7bf 100644 --- a/plugins/chroma/i420_rgb16.c +++ b/plugins/chroma/i420_rgb16.c @@ -2,7 +2,7 @@ * i420_rgb16.c : YUV to bitmap RGB conversion module for vlc ***************************************************************************** * Copyright (C) 2000 VideoLAN - * $Id: i420_rgb16.c,v 1.6 2002/04/02 10:17:08 sam Exp $ + * $Id: i420_rgb16.c,v 1.6.2.1 2002/06/01 10:43:54 sam Exp $ * * Authors: Samuel Hocevar * @@ -337,7 +337,7 @@ void _M( I420_RGB32 )( vout_thread_t *p_vout, picture_t *p_src, int i_right_margin; int i_rewind; int i_scale_count; /* scale modulo counter */ - int i_chroma_width = p_vout->render.i_width / 2; /* chroma width */ + int i_chroma_width = p_vout->render.i_width / 4; /* chroma width */ u32 * p_pic_start; /* beginning of the current line for copy */ #if defined (MODULE_NAME_IS_chroma_i420_rgb) int i_uval, i_vval; /* U and V samples */ -- 2.39.2