Fix minor bugs and add a debug timer in order to measure the real frame rate

This commit is contained in:
jfmcarreira committed 2014-03-31 01:23:44 +01:00
1 parent cd5b92f41b
commit b89f8a2d56
3 files changed
+23 -8

No files matched your search

+1 -1
View File
@@ -307,7 +307,7 @@ Void InputStream::readNextFrame()
}
#endif
UInt64 frame_bytes_input = m_ppcFrameBuffer[0]->getBytesPerFrame();
UInt64 frame_bytes_input = m_pcNextFrame->getBytesPerFrame();
bytes_read = fread( m_pInputBuffer, sizeof(Pel), frame_bytes_input, m_pFile );
if( bytes_read != frame_bytes_input )
{