Commit 1ef11ccb authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

declarations before definitions; no NULL in c++

parent a59a6ce8
......@@ -400,7 +400,7 @@ bool videoVIDS::reset()
pixBlock*videoVIDS::getFrame(void)
{
if(m_ID<0)return NULL;
if(m_ID<0)return 0;
if(m_vi.isFrameNew(m_ID)){
m_width=m_vi.getWidth(m_ID);
m_height=m_vi.getHeight(m_ID);
......
......@@ -96,8 +96,8 @@ void pix_chroma_key :: processYUV_YUV(imageStruct &image, imageStruct &right)
{
long src,h,w,xsize;
unsigned char Uhi,Ulo,Vhi,Vlo,Yhi,Ylo;
src =0;
bool change1,change2,change3,change4;
src =0;
Yhi = CLAMP(m_Yvalue + m_Yrange);
Ylo = CLAMP(m_Yvalue - m_Yrange);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment