diff options
| author | Joel Corley <[email protected]> | 2020-04-07 00:43:16 -0700 |
|---|---|---|
| committer | Joel Corley <[email protected]> | 2020-04-07 00:43:16 -0700 |
| commit | 27c8560ba860165db5a173b37591271397d20bb7 (patch) | |
| tree | 5eb91440b4fcd8d199a162c053f171a925b8eced /avstream/avssamp/video.cpp | |
| parent | 6568238719a3fe6d317e1d4a13131f5d2ca0234b (diff) | |
| parent | 60dab78e2549a164e5558b2169a900f24ac41434 (diff) | |
Merge branch 'UpdateVibraniumAvstream' of https://github.com/JoelCorley/Windows-driver-samples into UpdateVibraniumAvstream
Diffstat (limited to 'avstream/avssamp/video.cpp')
| -rw-r--r-- | avstream/avssamp/video.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avstream/avssamp/video.cpp b/avstream/avssamp/video.cpp index d18dc95d..1be9b56e 100644 --- a/avstream/avssamp/video.cpp +++ b/avstream/avssamp/video.cpp @@ -210,7 +210,7 @@ Return Value: VideoInfoHeader); m_VideoInfoHeader = reinterpret_cast <PKS_VIDEOINFOHEADER> ( - ExAllocatePoolWithTag ( + ExAllocatePoolZero ( NonPagedPool, KS_SIZE_VIDEOHEADER (ConnectionHeader), AVSSMP_POOLTAG @@ -864,7 +864,7 @@ Return Value: if (FromState == KSSTATE_STOP) { m_SynthesisBuffer = reinterpret_cast <PUCHAR> ( - ExAllocatePoolWithTag ( + ExAllocatePoolZero ( NonPagedPool, m_VideoInfoHeader -> bmiHeader.biSizeImage, AVSSMP_POOLTAG |
