Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/thirdparty/BaseClasses/amfilter.cpp')
-rw-r--r--src/thirdparty/BaseClasses/amfilter.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/thirdparty/BaseClasses/amfilter.cpp b/src/thirdparty/BaseClasses/amfilter.cpp
index 02407c4d2..072041c7a 100644
--- a/src/thirdparty/BaseClasses/amfilter.cpp
+++ b/src/thirdparty/BaseClasses/amfilter.cpp
@@ -3269,7 +3269,12 @@ CMediaSample::CMediaSample(__in_opt LPCTSTR pName,
m_cRef(0), // 0 ref count
m_dwTypeSpecificFlags(0), // Type specific flags
m_dwStreamId(AM_STREAM_MEDIA), // Stream id
- m_pAllocator(pAllocator) // Allocator
+ m_pAllocator(pAllocator), // Allocator
+ m_pNext(NULL),
+ m_Start(0),
+ m_End(0),
+ m_MediaStart(0),
+ m_MediaEnd(0)
{
#ifdef DXMPERF
PERFLOG_CTOR( pName ? pName : L"CMediaSample", (IMediaSample *) this );
@@ -3300,7 +3305,12 @@ CMediaSample::CMediaSample(__in_opt LPCSTR pName,
m_cRef(0), // 0 ref count
m_dwTypeSpecificFlags(0), // Type specific flags
m_dwStreamId(AM_STREAM_MEDIA), // Stream id
- m_pAllocator(pAllocator) // Allocator
+ m_pAllocator(pAllocator), // Allocator
+ m_pNext(NULL),
+ m_Start(0),
+ m_End(0),
+ m_MediaStart(0),
+ m_MediaEnd(0)
{
#ifdef DXMPERF
PERFLOG_CTOR( L"CMediaSample", (IMediaSample *) this );