Fix warning

This commit is contained in:
2015-11-21 00:19:26 +00:00
parent 6fbe7697d9
commit a3c288de29
+1 -2
View File
@@ -524,7 +524,7 @@ Void PlaYUVerStream::loadAll()
Void PlaYUVerStream::getDuration( Int* duration_array )
{
Int hours, mins, secs;
Int hours, mins, secs = 0;
#ifdef USE_FFMPEG
if( m_iStreamHandler == FFMPEG )
{
@@ -533,7 +533,6 @@ Void PlaYUVerStream::getDuration( Int* duration_array )
else
#endif
if( m_iStreamHandler == YUV_IO )
{
secs = m_uiTotalFrameNum / m_dFrameRate;
}