BradLarson/GPUImage — pull request #410 by jad (2012-08-24 16:48:24+00:00)
Title: Crop filter: validate the crop rect before assigning it

The crop rect must have all fields set to values between 0 and 1. Not doing so leads to a cryptic crash that looks a lot like this: https://github.com/BradLarson/GPUImage/issues/179.

Added an assertion to the crop rect before assigning it so any input error can be caught immediately.