png-image-compatibility
This commit is contained in:
parent
afdbd855ee
commit
e607a85df6
@ -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…
x
Reference in New Issue
Block a user