summaryrefslogtreecommitdiff
path: root/avstream/avscamera/sys/Capture.cpp
diff options
context:
space:
mode:
author5an7y-Microsoft <[email protected]>2026-08-07 12:39:24 -0700
committerGitHub <[email protected]>2026-08-07 12:39:24 -0700
commite179c3fd5f69933ed8b4b6098d4e773237737664 (patch)
tree2d874660c892e2a081fc97c64f22252f16b5a9c5 /avstream/avscamera/sys/Capture.cpp
parentef7c3074748ab05726c3a9161d3256118efd76e2 (diff)
parentb150e03b2e7aadab8c846eb547636b37434c396a (diff)
Merge pull request #1405 from microsoft/develop
RI develop -> main
Diffstat (limited to 'avstream/avscamera/sys/Capture.cpp')
-rw-r--r--avstream/avscamera/sys/Capture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/avstream/avscamera/sys/Capture.cpp b/avstream/avscamera/sys/Capture.cpp
index 730370e6..3694716b 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;
}