From c4792c01027cae877b489943f5e163bb627cb053 Mon Sep 17 00:00:00 2001
From: Vladislav Vinogradov <no@email>
Date: Mon, 16 Jan 2012 09:24:42 +0000
Subject: [PATCH] updated optical_flow samples

---
 samples/gpu/optical_flow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/gpu/optical_flow.cpp b/samples/gpu/optical_flow.cpp
index 9f5f57599..0549f7bc6 100644
--- a/samples/gpu/optical_flow.cpp
+++ b/samples/gpu/optical_flow.cpp
@@ -127,7 +127,7 @@ int main(int argc, const char* argv[])
         
         GpuMat d_vertex, d_colors;
 
-        createOpticalFlowNeedleMap(d_bu, d_bv, d_vertex, d_colors);
+        createOpticalFlowNeedleMap(d_fu, d_fv, d_vertex, d_colors);
 #endif
 
         cout << "Interpolating..." << endl;