gstreamer/gst/compositor
Nirbheek Chauhan cf786a9399 compositor: Ensure all arguments to CLAMP are signed int
If any of the arguments to CLAMP are unsigned integers, the comparison causes
an automatic conversion of the signed int to unsigned, which causes -1 to become
UINT_MAX and get clamped to the high value of the CLAMP instead of 0.

See 716 at http://c0x.coding-guidelines.com/6.3.1.8.html

Also add a test for this.

https://bugzilla.gnome.org/show_bug.cgi?id=754576
2015-09-04 23:32:36 +02:00
..
.gitignore
blend.c
blend.h
blendorc.h
compositor.c compositor: Ensure all arguments to CLAMP are signed int 2015-09-04 23:32:36 +02:00
compositor.h
compositororc-dist.c Release 1.5.1 2015-06-07 10:55:35 +02:00
compositororc-dist.h
compositororc.orc compositor: Revert most of previous patch. 2015-03-16 04:00:44 +11:00
compositorpad.h
Makefile.am