video-dither: remove check for below zero for unsigned value
authorLuis de Bethencourt <luis.bg@samsung.com>
Fri, 9 Jan 2015 15:38:09 +0000 (15:38 +0000)
committerLuis de Bethencourt <luis.bg@samsung.com>
Fri, 9 Jan 2015 15:38:09 +0000 (15:38 +0000)
commit6992da94b0bf78c18fb1a671ea003911de67892c
treeda08e9cb5d84666d3d116a4d01aab0db91ec3e09
parent23880ec874b020244b8618bd78984b0b597ce472
video-dither: 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 and setting it appropriately.

CID 1256559
gst-libs/gst/video/video-dither.c