Itseez/opencv — pull request #32 by LeonidBeynenson (2012-09-24 13:03:36+00:00)
Title: Made changes to allow to work with large datasets

Earlier sometimes error happened when a temporary buffer in ml module were created as a Mat,
since the length of the row of the buffer (in bytes) was sizeof(int) * (work_var_count + 1)*sample_count
-- in some cases it was greater than INT_MAX.