compositor: remove check for below zero for unsigned value
authorLuis de Bethencourt <luis@debethencourt.com>
Fri, 28 Aug 2015 14:21:11 +0000 (15:21 +0100)
committerLuis de Bethencourt <luis@debethencourt.com>
Fri, 28 Aug 2015 14:21:13 +0000 (15:21 +0100)
commite4b584b3e53e40c150c0d62a3b3a96d0346c86c4
treec15ae7a9ff1cebc0893cb0093a705f3efe4bf80c
parentf12ef34410afcdf727f5182328b745050b5490f3
compositor: remove check for below zero for unsigned value

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

CID 1320707
gst/compositor/compositor.c