Index: gstffmpegcodecmap.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins/gst/ffmpegcolorspace/gstffmpegcodecmap.c,v
retrieving revision 1.16
diff -u -r1.16 gstffmpegcodecmap.c
--- gstffmpegcodecmap.c	17 Jan 2005 14:12:08 -0000	1.16
+++ gstffmpegcodecmap.c	8 Feb 2005 19:58:06 -0000
@@ -611,8 +611,7 @@
       stride = ROUND_UP_4 (width);
       h2 = ROUND_UP_X (height, pinfo->y_chroma_shift);
       size = stride * h2;
-      w2 = DIV_ROUND_UP_X (width, pinfo->x_chroma_shift);
-      stride2 = ROUND_UP_4 (w2);
+      stride2 = DIV_ROUND_UP_X (stride, pinfo->x_chroma_shift);
       h2 = DIV_ROUND_UP_X (height, pinfo->y_chroma_shift);
       size2 = stride2 * h2;
       picture->data[0] = ptr;
