Itseez/opencv — pull request #1531 by StevenPuttemans (2013-09-30 12:31:11+00:00)
Title: Bugfix 3186 new

Tried applying fix in earlier pull request (https://github.com/Itseez/opencv/pull/1464#issuecomment-25147689), but there was still a fault after merging. Hoping to fix this now.