diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-03-01 17:51:10 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-03-01 17:51:10 +0300 |
commit | 238fa4a2de68c8c7c60a37028046566821b2b49a (patch) | |
tree | df2a4be21e278f9f4600f96287163d7968eda732 /common | |
parent | bd703bc481b5d82b6193f29296ddf2e358443280 (diff) |
msdk_mvc: remove EOS markers from the bitstream, as they confuse the decoder
Diffstat (limited to 'common')
-rw-r--r-- | common/DSUtilLite/H264Nalu.h | 1 |
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); |