From 74f74fec6124b4006abcb759464b6700e0368a9d Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Wed, 26 Mar 2014 01:29:39 +0000 Subject: [PATCH] Minor bug fix related with uninitialized varibles --- source/PlaYUVerFrame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/PlaYUVerFrame.cpp b/source/PlaYUVerFrame.cpp index b1506db..b63b04b 100755 --- a/source/PlaYUVerFrame.cpp +++ b/source/PlaYUVerFrame.cpp @@ -149,8 +149,8 @@ Void PlaYUVerFrame::FrametoRGB8() Pel** ppInputPelY = m_pppcInputPel[LUMA]; Pel* pInputPelY = &( m_pppcInputPel[LUMA][0][0] ); - Pel *pInputPelU, *pInputPelV; - Pel *pRGBPelR, *pRGBPelG, *pRGBPelB; + Pel *pInputPelU = NULL, *pInputPelV = NULL; + Pel *pRGBPelR = NULL, *pRGBPelG = NULL, *pRGBPelB = NULL; if( m_pppcRGBPel ) {