answered Aug 28 '13
I fixed it in this commit: https://github.com/Itseez/opencv/commit/88712d97c6836b710eba3b814396ab753482943d