videomixer: remove unneeded guint comparaison

https://bugzilla.gnome.org/show_bug.cgi?id=711010
This commit is contained in:
Matthieu Bouron 2013-10-28 13:21:15 +00:00 committed by Olivier Crête
parent d57b9628fc
commit 52d0588c21

View file

@ -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);