From a0d27eefaf406e95b1325e3da09c336385fa3edc Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 25 Mar 2017 03:47:52 +0000 Subject: [PATCH] Fix uninitialized variable --- lib/StreamHandlerLibav.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/StreamHandlerLibav.cpp b/lib/StreamHandlerLibav.cpp index ee22b41..3a23009 100644 --- a/lib/StreamHandlerLibav.cpp +++ b/lib/StreamHandlerLibav.cpp @@ -304,7 +304,7 @@ Int StreamHandlerLibav::decodeVideoPkt( Bool& gotFrame ) { gotFrame = false; - Int decResult; + Int decResult = 0; if( m_cPacket.stream_index == m_iStreamIdx ) { #ifdef FF_SEND_RECEIVE_API