gstvalue: Fix comparision of double range
authorEdward Hervey <edward@collabora.com>
Tue, 10 Dec 2013 22:53:24 +0000 (17:53 -0500)
committerEdward Hervey <edward@collabora.com>
Tue, 10 Dec 2013 23:01:52 +0000 (18:01 -0500)
commit3ea6b04c10b10fde9d62190068f274b940edef07
tree71bcc12b7347bc85a13c244e20e5e0a5fd27f88b
parentb363ab17e7a34fb1040481b9aadabf2ad6c93901
gstvalue: Fix comparision of double range

Checking twice the lower bound is great (you never know, it might change
between the two calls by someone using emacs butterfly-mode), but it's a bit
more useful to check the higher bound are also identical.

Detected by Coverity
gst/gstvalue.c
tests/check/gst/gstvalue.c