2fc8ecdb92
Move the size check after the NULL check, add the clip height into the check logic and fix up the comment. http://bugzilla.openedhand.com/show_bug.cgi?id=2040 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>