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