mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 20:31:20 +00:00
videoconvert: remove unneeded guint comparaison
https://bugzilla.gnome.org/show_bug.cgi?id=710760
This commit is contained in:
parent
c07af869a7
commit
22f411378e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue