From: Andrey Kamaev Date: Thu, 22 Mar 2012 08:22:23 +0000 (+0000) Subject: Fixed build X-Git-Tag: accepted/2.0/20130307.220821~1052 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e64c08d5d948f0820f7dc501d9631930b2d80707;p=profile%2Fivi%2Fopencv.git Fixed build --- diff --git a/modules/videostab/src/precomp.hpp b/modules/videostab/src/precomp.hpp index eb322d1..bdf1e49 100644 --- a/modules/videostab/src/precomp.hpp +++ b/modules/videostab/src/precomp.hpp @@ -62,7 +62,7 @@ inline float intensity(const cv::Point3_ &bgr) return 0.3f*bgr.x + 0.59f*bgr.y + 0.11f*bgr.z; } -template inline T& at(int index, const T *items, int size) +template inline T& at(int index, T *items, int size) { return items[cv::borderInterpolate(index, size, cv::BORDER_WRAP)]; }