From 4ed940cc9f0ab586804fe0a90a5d9898402be5cf Mon Sep 17 00:00:00 2001 From: sbokov Date: Sun, 6 Sep 2015 15:24:12 +0300 Subject: [PATCH] Uninitialized memory access fix --- modules/optflow/src/deepflow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/optflow/src/deepflow.cpp b/modules/optflow/src/deepflow.cpp index 9e2fa3a63..284061a4c 100644 --- a/modules/optflow/src/deepflow.cpp +++ b/modules/optflow/src/deepflow.cpp @@ -152,7 +152,7 @@ Mat OpticalFlowDeepFlow::warpImage( const Mat input, const Mat flow ) pMapY[i] = j + pFlow[2 * i + 1]; } } - remap(input, output, mapX, mapY, interpolationType, BORDER_TRANSPARENT); + remap(input, output, mapX, mapY, interpolationType); return output; } void OpticalFlowDeepFlow::calc( InputArray _I0, InputArray _I1, InputOutputArray _flow )