Closed dcb314 closed 8 years ago
demuxer.c:628]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
Source code is
while (len = m_VideoBuffer->Read(&buf, TS_SIZE, m_endTime, m_wrapTime) == TS_SIZE)
Maybe better code
while ((len = m_VideoBuffer->Read(&buf, TS_SIZE, m_endTime, m_wrapTime)) == TS_SIZE)
Thanks, I will correct this soon.
fixed in master now. thanks
demuxer.c:628]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
Source code is
while (len = m_VideoBuffer->Read(&buf, TS_SIZE, m_endTime, m_wrapTime) == TS_SIZE)
Maybe better code
while ((len = m_VideoBuffer->Read(&buf, TS_SIZE, m_endTime, m_wrapTime)) == TS_SIZE)