Merge pull request #5870 from IshankGulati:VideoCapture-fix

pull/6745/head
Alexander Alekhin 9 years ago
commit 639c8fc6d6
  1. 2
      modules/videoio/src/cap_images.cpp

@ -124,7 +124,7 @@ bool CvCapture_Images::grabFrame()
}
cvReleaseImage(&frame);
frame = cvLoadImage(str, CV_LOAD_IMAGE_ANYDEPTH | CV_LOAD_IMAGE_ANYCOLOR);
frame = cvLoadImage(str, CV_LOAD_IMAGE_UNCHANGED);
if( frame )
currentframe++;

Loading…
Cancel
Save