Changeset 1347 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 22 Jul 2015, 03:04:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComBitStream.cpp
r1319 r1347 373 373 { 374 374 std::size_t currentOutputBufferSize=buf.size(); 375 const UInt uiNumBytesToReadFromFifo = std::min<UInt>(uiNumBytes, m_fifo.size() - m_fifo_idx);375 const UInt uiNumBytesToReadFromFifo = std::min<UInt>(uiNumBytes, (UInt)m_fifo.size() - m_fifo_idx); 376 376 buf.resize(currentOutputBufferSize+uiNumBytes); 377 377 memcpy(&(buf[currentOutputBufferSize]), &(m_fifo[m_fifo_idx]), uiNumBytesToReadFromFifo); m_fifo_idx+=uiNumBytesToReadFromFifo;
Note: See TracChangeset for help on using the changeset viewer.