Fix warning

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