diff --git a/avstream/avscamera/sys/Capture.cpp b/avstream/avscamera/sys/Capture.cpp index 730370e60..52a070ed5 100644 --- a/avstream/avscamera/sys/Capture.cpp +++ b/avstream/avscamera/sys/Capture.cpp @@ -1462,7 +1462,7 @@ Return Value: // if( Pin->DeviceState == KSSTATE_STOP ) { - if( !CapPin->CaptureBitmapInfoHeader( ) ) + if( !NT_SUCCESS(CapPin->CaptureBitmapInfoHeader( ))) { Status = STATUS_INSUFFICIENT_RESOURCES; }