summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-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;