diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2009-04-18 21:39:19 +0400 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2009-04-18 21:39:19 +0400 |
commit | 530c6354edabdd19d45d883fee88793664170adf (patch) | |
tree | d1fcf2a4b371465f0c20201a52f33db6367688e7 /src/subtitles/HdmvSub.cpp | |
parent | f39d30c0b2eba6db09f1d3f66be6fd1eb2d7f5a5 (diff) |
Changed : merge with Beliyaal branch
Added : support for madVR (new Video Renderer)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1048 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/subtitles/HdmvSub.cpp')
-rw-r--r-- | src/subtitles/HdmvSub.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/subtitles/HdmvSub.cpp b/src/subtitles/HdmvSub.cpp index 582fdbd3f..79ed365af 100644 --- a/src/subtitles/HdmvSub.cpp +++ b/src/subtitles/HdmvSub.cpp @@ -67,7 +67,7 @@ void CHdmvSub::AllocSegment(int nSize) if (nSize > m_nTotalSegBuffer)
{
delete[] m_pSegBuffer;
- m_pSegBuffer = new BYTE[nSize];
+ m_pSegBuffer = DNew BYTE[nSize];
m_nTotalSegBuffer = nSize;
}
m_nSegBufferPos = 0;
@@ -207,7 +207,7 @@ int CHdmvSub::ParsePresentationSegment(CGolombBuffer* pGBuffer) if (nObjectNumber > 0)
{
delete m_pCurrentObject;
- m_pCurrentObject = new CompositionObject();
+ m_pCurrentObject = DNew CompositionObject();
ParseCompositionObject (pGBuffer, m_pCurrentObject);
}
@@ -410,7 +410,7 @@ void CHdmvSub::CompositionObject::SetPalette (int nNbEntry, HDMV_PALETTE* pPalet void CHdmvSub::CompositionObject::SetRLEData(BYTE* pBuffer, int nSize, int nTotalSize)
{
delete[] m_pRLEData;
- m_pRLEData = new BYTE[nTotalSize];
+ m_pRLEData = DNew BYTE[nTotalSize];
m_nRLEDataSize = nTotalSize;
m_nRLEPos = nSize;
|