summaryrefslogtreecommitdiffstats
path: root/gst/videocrop
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
commitfd90de31133882bfc20105293e4da837b9e83717 (patch)
treebf934e58df198f1d79b16cd8fe880f9f0bdef866 /gst/videocrop
parente47133fe1a9ebe3625bbea1b530fc404babe87cf (diff)
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
Diffstat (limited to 'gst/videocrop')
-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;