diff options
Diffstat (limited to 'avstream/avssamp/video.cpp')
| -rw-r--r-- | avstream/avssamp/video.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/avstream/avssamp/video.cpp b/avstream/avssamp/video.cpp index d2291a24..1be9b56e 100644 --- a/avstream/avssamp/video.cpp +++ b/avstream/avssamp/video.cpp @@ -1,4 +1,4 @@ -/************************************************************************** +/************************************************************************** AVStream Filter-Centric Sample @@ -23,7 +23,7 @@ /************************************************************************** PAGEABLE CODE - + **************************************************************************/ #ifdef ALLOC_PRAGMA @@ -210,7 +210,7 @@ Return Value: VideoInfoHeader); m_VideoInfoHeader = reinterpret_cast <PKS_VIDEOINFOHEADER> ( - ExAllocatePoolWithTag ( + ExAllocatePoolZero ( NonPagedPool, KS_SIZE_VIDEOHEADER (ConnectionHeader), AVSSMP_POOLTAG @@ -557,7 +557,7 @@ Routine Description: selected in order to change the format for the pin. In this case, OldFormat will not be NULL. - Validate that the format is acceptible and perform the actions necessary + Validate that the format is acceptable and perform the actions necessary to change format if appropriate. Arguments: @@ -864,7 +864,7 @@ Return Value: if (FromState == KSSTATE_STOP) { m_SynthesisBuffer = reinterpret_cast <PUCHAR> ( - ExAllocatePoolWithTag ( + ExAllocatePoolZero ( NonPagedPool, m_VideoInfoHeader -> bmiHeader.biSizeImage, AVSSMP_POOLTAG |
