From a3c288de29c1b80c842ebc3a26ef2a2ab42e58a8 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 21 Nov 2015 00:19:26 +0000 Subject: [PATCH] Fix warning --- lib/PlaYUVerStream.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/PlaYUVerStream.cpp b/lib/PlaYUVerStream.cpp index 9c2e83c..ece9d00 100644 --- a/lib/PlaYUVerStream.cpp +++ b/lib/PlaYUVerStream.cpp @@ -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; }