Changeset 1347 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
22 Jul 2015, 03:04:30 (9 years ago)
Author:
seregin
Message:

port rev 4425

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComBitStream.cpp

    r1319 r1347  
    373373  {
    374374    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);
    376376    buf.resize(currentOutputBufferSize+uiNumBytes);
    377377    memcpy(&(buf[currentOutputBufferSize]), &(m_fifo[m_fifo_idx]), uiNumBytesToReadFromFifo); m_fifo_idx+=uiNumBytesToReadFromFifo;
Note: See TracChangeset for help on using the changeset viewer.