mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
fix formating
This commit is contained in:
@@ -3170,8 +3170,8 @@ bool CvCaptureCAM_DShow::open( int _index )
|
||||
devices = VI.listDevices(true);
|
||||
if (devices == 0)
|
||||
return false;
|
||||
if (_index < 0 || index > devices-1)
|
||||
return false;
|
||||
if (_index < 0 || index > devices-1)
|
||||
return false;
|
||||
VI.setupDevice(_index);
|
||||
if( !VI.isDeviceSetup(_index) )
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user