summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Stembridge <jstembridge@users.sourceforge.net>2003-02-20 11:59:32 +0000
committerJames Stembridge <jstembridge@users.sourceforge.net>2003-02-20 11:59:32 +0000
commit6f52999d1c37f9a90655a7adbdeb782e87beac14 (patch)
tree1ab44f00782eae59fea7bf15dc0e0107d70e0708
parentb58bd413b6b164df7046902ed02ae27362dbeef1 (diff)
downloadxine-lib-6f52999d1c37f9a90655a7adbdeb782e87beac14.tar.gz
xine-lib-6f52999d1c37f9a90655a7adbdeb782e87beac14.tar.bz2
Same fix for yv12
CVS patchset: 4216 CVS date: 2003/02/20 11:59:32
-rw-r--r--src/xine-engine/video_out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index b48fd26df..e47789a0f 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.143 2003/02/20 11:40:13 jstembridge Exp $
+ * $Id: video_out.c,v 1.144 2003/02/20 11:59:32 jstembridge Exp $
*
* frame allocation / queuing / scheduling / output functions
*/
@@ -222,7 +222,7 @@ static void vo_frame_driver_copy(vo_frame_t *img)
src[0] = img->base[0];
src[1] = img->base[1];
src[2] = img->base[2];
- while ((height -= 16) >= 0) {
+ while ((height -= 16) > -16) {
img->copy(img, src);
src[0] += 16 * img->pitches[0];
src[1] += 8 * img->pitches[1];