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

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-03-01 17:51:10 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-03-01 17:51:10 +0300
commit238fa4a2de68c8c7c60a37028046566821b2b49a (patch)
treedf2a4be21e278f9f4600f96287163d7968eda732 /common
parentbd703bc481b5d82b6193f29296ddf2e358443280 (diff)
msdk_mvc: remove EOS markers from the bitstream, as they confuse the decoder
Diffstat (limited to 'common')
-rw-r--r--common/DSUtilLite/H264Nalu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/DSUtilLite/H264Nalu.h b/common/DSUtilLite/H264Nalu.h
index f0150cce..cb68425f 100644
--- a/common/DSUtilLite/H264Nalu.h
+++ b/common/DSUtilLite/H264Nalu.h
@@ -74,6 +74,7 @@ public :
size_t GetLength() const { return m_nCurPos - m_nNALStartPos; }
const BYTE *GetNALBuffer() { return m_pBuffer + m_nNALStartPos; }
+ size_t GetNALPos() { return m_nNALStartPos; }
bool IsEOF() const { return m_nCurPos >= m_nSize; }
void SetBuffer (const BYTE *pBuffer, size_t nSize, int nNALSize);