Add new YUV formats

This commit is contained in:
jfmcarreira committed 2014-03-23 19:47:14 +00:00
1 parent a1ba419d2c
commit 83df007fad
6 files changed
+146 -83

No files matched your search

+1 -2
View File
@@ -246,7 +246,6 @@ Void InputStream::readFrame()
return;
}
m_cCurrFrame->FrameFromBuffer( m_pInputBuffer, m_iPixelFormat );
return;
}
@@ -289,7 +288,7 @@ Void InputStream::seekInput( Int new_frame_num )
else
#endif
{
UInt64 frame_bytes_input = m_uiWidth * m_uiHeight * 1.5;
UInt64 frame_bytes_input = m_cCurrFrame->getBytesPerFrame();
UInt64 nbytes_seek = frame_bytes_input * new_frame_num;
fseek( m_pFile, nbytes_seek, SEEK_SET );
m_iCurrFrameNum = new_frame_num - 1;