mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
Merge pull request #6649 from adamrankin:msmf_crash_fix
This commit is contained in:
commit
e3844e0f26
@ -2580,7 +2580,7 @@ bool videoDevice::setupDevice(unsigned int id)
|
||||
|
||||
bool videoDevice::setupDevice(unsigned int w, unsigned int h, unsigned int idealFramerate)
|
||||
{
|
||||
unsigned int id = findType(w * h, idealFramerate);
|
||||
int id = findType(w * h, idealFramerate);
|
||||
if( id < 0 )
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user