summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Stembridge <jstembridge@users.sourceforge.net>2003-02-23 01:15:59 +0000
committerJames Stembridge <jstembridge@users.sourceforge.net>2003-02-23 01:15:59 +0000
commit7734832d51ad2cda4e45a1538336bfc6e40c83b8 (patch)
tree633e878b5810ae4cb5f3e51e97971ac3bd3ad765
parentf6779d1ac58fe8a1a6de4d64d35f3372cd4eadca (diff)
downloadxine-lib-7734832d51ad2cda4e45a1538336bfc6e40c83b8.tar.gz
xine-lib-7734832d51ad2cda4e45a1538336bfc6e40c83b8.tar.bz2
Fix error in chroma plane interleaving
CVS patchset: 4258 CVS date: 2003/02/23 01:15:59
-rw-r--r--src/video_out/video_out_vidix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c
index 24b3a7e3f..d1b4c8419 100644
--- a/src/video_out/video_out_vidix.c
+++ b/src/video_out/video_out_vidix.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_vidix.c,v 1.31 2003/02/21 19:54:52 jstembridge Exp $
+ * $Id: video_out_vidix.c,v 1.32 2003/02/23 01:15:59 jstembridge Exp $
*
* video_out_vidix.c
*
@@ -214,7 +214,7 @@ static void write_frame_YUV420P2(vidix_driver_t* this, vidix_frame_t* frame)
this->vidix_play.offset.v);
for(h = 0; h < (frame->height / 2); h++) {
- for(w = 0; w < frame->width; w++) {
+ for(w = 0; w < (frame->width / 2); w++) {
dst8[2*w+0] = cb[w];
dst8[2*w+1] = cr[w];
}