summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@gmail.com>2003-03-02 20:17:21 +0000
committerZeeshan Ali <zeenix@gmail.com>2003-03-02 20:17:21 +0000
commitae500224ff1791a69689791901acab576d87546c (patch)
treeb461118918d67f8a67ca4766b8e4168587a6388e
parent701e4e6c31f7cce3f3994f02d19c46f175442d92 (diff)
downloadgst-plugins-bad-ae500224ff1791a69689791901acab576d87546c.tar.gz
gst-plugins-bad-ae500224ff1791a69689791901acab576d87546c.tar.bz2
gst-plugins-bad-ae500224ff1791a69689791901acab576d87546c.zip
Silly bug, i wonder who was the last one to play with it
Original commit message from CVS: Silly bug, i wonder who was the last one to play with it
-rw-r--r--gst/videocrop/gstvideocrop.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c
index 48a51dbb..ea807420 100644
--- a/gst/videocrop/gstvideocrop.c
+++ b/gst/videocrop/gstvideocrop.c
@@ -297,12 +297,6 @@ gst_video_crop_i420 (GstVideoCrop *video_crop, GstBuffer *src_buffer, GstBuffer
destY += width;
}
- for (j = crop_height; j; j--) {
- memcpy (destY, srcY, width);
- srcY += src_stride;
- destY += width;
- }
-
width >>= 1;
src_stride >>= 1;
crop_height >>= 1;