diff options
author | Matthieu Bouron <matthieu.bouron@collabora.com> | 2013-10-28 13:21:15 +0000 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-10-29 16:38:26 +0000 |
commit | 52d0588c21be1a9b85e531fd399cdaaf6198507e (patch) | |
tree | d5ddecd682c4a9d6b5b20384e18c61234118928a /gst/videomixer | |
parent | d57b9628fc94bf22f3e5af75e5cda05bb37655e1 (diff) | |
download | gstreamer-plugins-good-52d0588c21be1a9b85e531fd399cdaaf6198507e.tar.gz |
videomixer: remove unneeded guint comparaison
https://bugzilla.gnome.org/show_bug.cgi?id=711010
Diffstat (limited to 'gst/videomixer')
-rw-r--r-- | gst/videomixer/videoconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videomixer/videoconvert.c b/gst/videomixer/videoconvert.c index 6331db76c..669a1b487 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); |