Fixed a typo

pull/13383/head
Stefano Fabri 15 years ago
parent 22d22fd925
commit 3499703ede
  1. 3
      modules/highgui/src/cap_pvapi.cpp

@ -255,7 +255,8 @@ IplImage* CvCaptureCAM_PvAPI::retrieveFrame(int)
if (PvCaptureWaitForFrameDone(Camera.Handle, &(Camera.Frame), 1000) == ePvErrSuccess) {
if (!monocrome)
cvMerge(grayframe,grayframe,grayframe,NULL,frame);
cvMerge(grayframe,grayframe,grayframe,NULL,frame);
return frame;
return grayframe;
}
else return NULL;

Loading…
Cancel
Save