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 gitignore: ignore more files 2015-01-12 22:52:36 +01:00
blend.c compositor: fix illegal memory access in blend function with negative ypos 2015-01-19 12:38:13 +00:00
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 compositor: Implement rescaling of the input via pad properties 2014-11-27 21:23:04 +01:00
Makefile.am compositor: Fix Makefile CFLAGS/LIBADD ordering 2014-06-24 08:01:21 +02:00