videoconvert: remove unneeded guint comparaison

https://bugzilla.gnome.org/show_bug.cgi?id=710760
This commit is contained in:
Matthieu Bouron 2013-10-23 16:43:32 +01:00 committed by Olivier Crête
parent c07af869a7
commit 22f411378e

View file

@ -597,7 +597,7 @@ videoconvert_convert_generic (VideoConvert * convert, GstVideoFrame * dest,
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);