From 52d0588c21be1a9b85e531fd399cdaaf6198507e Mon Sep 17 00:00:00 2001 From: Matthieu Bouron Date: Mon, 28 Oct 2013 13:21:15 +0000 Subject: [PATCH] videomixer: remove unneeded guint comparaison https://bugzilla.gnome.org/show_bug.cgi?id=711010 --- gst/videomixer/videoconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videomixer/videoconvert.c b/gst/videomixer/videoconvert.c index 6331db76c3..669a1b4870 100644 --- a/gst/videomixer/videoconvert.c +++ b/gst/videomixer/videoconvert.c @@ -605,7 +605,7 @@ videomixer_videoconvert_convert_generic (VideoConvert * convert, for (j = 0; j < down_n_lines; j += lines) { idx = down_offset + j; - if (idx >= 0 && idx < height) { + if (idx < height) { GST_DEBUG ("packing line %d %d %d", j + start, down_offset, idx); /* FIXME, not correct if lines > 1 */ PACK_FRAME (dest, out_tmplines[j + start], idx, width);