Fix warning
This commit is contained in:
1 parent
6fbe7697d9
commit
a3c288de29
1 file changed
+1
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user