Commit e607a85d authored by Ishank gulati's avatar Ishank gulati

png-image-compatibility

parent afdbd855
...@@ -124,7 +124,7 @@ bool CvCapture_Images::grabFrame() ...@@ -124,7 +124,7 @@ bool CvCapture_Images::grabFrame()
} }
cvReleaseImage(&frame); cvReleaseImage(&frame);
frame = cvLoadImage(str, CV_LOAD_IMAGE_ANYDEPTH | CV_LOAD_IMAGE_ANYCOLOR); frame = cvLoadImage(str, CV_LOAD_IMAGE_UNCHANGED);
if( frame ) if( frame )
currentframe++; currentframe++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment