Skip to content

Commit 97f5f64

Browse files
authored
Update Capture.cpp
Add Return check as NTStatus
1 parent b3af8c8 commit 97f5f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

avstream/avscamera/sys/Capture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ Return Value:
14621462
//
14631463
if( Pin->DeviceState == KSSTATE_STOP )
14641464
{
1465-
if( !CapPin->CaptureBitmapInfoHeader( ) )
1465+
if( !NT_SUCCESS(CapPin->CaptureBitmapInfoHeader( )))
14661466
{
14671467
Status = STATUS_INSUFFICIENT_RESOURCES;
14681468
}

0 commit comments

Comments
 (0)