video-converter: remove check for below zero for unsigned int
authorLuis de Bethencourt <luis.bg@samsung.com>
Thu, 26 Feb 2015 14:47:28 +0000 (14:47 +0000)
committerLuis de Bethencourt <luis.bg@samsung.com>
Thu, 26 Feb 2015 14:48:51 +0000 (14:48 +0000)
commit7175417f7ecf4403c36e8b10468a8eec81d6904b
tree4cc49246c8671e9a07daddbd790302798258f94b
parent7813315a4c168e96f6d29e45d9e8ee8c304a3c4f
video-converter: remove check for below zero for unsigned int

CLAMP checks both if value is '< 0' and '> max'. Value will never be a negative
number since it in an unsigned integer. Removing that check and only checking
if it is bigger than max and setting it appropriately.

CID #1271606
gst-libs/gst/video/video-converter.c