corrected small bu on image sequence tone mapping
authorAlexandre Benoit <no@email>
Tue, 13 Dec 2011 08:42:39 +0000 (08:42 +0000)
committerAlexandre Benoit <no@email>
Tue, 13 Dec 2011 08:42:39 +0000 (08:42 +0000)
samples/cpp/OpenEXRimages_HighDynamicRange_Retina_toneMapping_video.cpp

index 1d050f0..5f57353 100644 (file)
@@ -289,7 +289,7 @@ cv::Mat loadNewFrame(const std::string filenamePrototype, const int currentFileI
                 currentFrameIndex=startFrameIndex;
                 while(currentFrameIndex <= endFrameIndex)
                 {
-                        cv::Mat currentFrame  = loadNewFrame(inputImageNamePrototype, startFrameIndex, false);
+                        cv::Mat currentFrame  = loadNewFrame(inputImageNamePrototype, currentFrameIndex, false);
 
                         if (currentFrame.empty())
                         {