==6134== Memcheck, a memory error detector ==6134== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==6134== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info ==6134== Command: ./jctvc-hm-dec -b /master/thdavies/test3r.bit -o /master/thdavies/test3r.dec.yuv ==6134== Parent PID: 10663 ==6134== ==6134== Conditional jump or move depends on uninitialised value(s) ==6134== at 0x40B55E: TComAdaptiveLoopFilter::calcVar(short**, short*, int, int) (TComAdaptiveLoopFilter.cpp:1378) ==6134== by 0x4145FF: TComAdaptiveLoopFilter::xALFLuma(TComPic*, _AlfParam*, std::vector >&, TComPicYuv*, TComPicYuv*) (TComAdaptiveLoopFilter.cpp:673) ==6134== by 0x414DD4: TComAdaptiveLoopFilter::ALFProcess(TComPic*, _AlfParam*, std::vector >&) (TComAdaptiveLoopFilter.cpp:583) ==6134== by 0x48123D: TDecGop::decompressGop(TComInputBitstream*, TComPic*&, bool) (TDecGop.cpp:531) ==6134== by 0x487D88: TDecTop::executeDeblockAndAlf(unsigned int&, TComList*&, int&, int&) (TDecTop.cpp:236) ==6134== by 0x406AA4: TAppDecTop::decode() (TAppDecTop.cpp:148) ==6134== by 0x4037E7: main (decmain.cpp:79) ==6134== Uninitialised value was created by a heap allocation ==6134== at 0x4C244E8: malloc (vg_replace_malloc.c:236) ==6134== by 0x43512C: TComPicYuv::create(int, int, unsigned int, unsigned int, unsigned int) (TComPicYuv.cpp:92) ==6134== by 0x433D0E: TComPic::create(int, int, unsigned int, unsigned int, unsigned int, bool) (TComPic.cpp:74) ==6134== by 0x487F41: TDecTop::xGetNewPicBuffer(TComSlice*, TComPic*&) (TDecTop.cpp:187) ==6134== by 0x48A469: TDecTop::decode(InputNALUnit&, int&, int&) (TDecTop.cpp:519) ==6134== by 0x406A6E: TAppDecTop::decode() (TAppDecTop.cpp:134) ==6134== by 0x4037E7: main (decmain.cpp:79) ==6134== ==6134== Use of uninitialised value of size 8 ==6134== at 0x40B5AA: TComAdaptiveLoopFilter::calcVar(short**, short*, int, int) (TComAdaptiveLoopFilter.cpp:1385) ==6134== by 0x4145FF: TComAdaptiveLoopFilter::xALFLuma(TComPic*, _AlfParam*, std::vector >&, TComPicYuv*, TComPicYuv*) (TComAdaptiveLoopFilter.cpp:673) ==6134== by 0x414DD4: TComAdaptiveLoopFilter::ALFProcess(TComPic*, _AlfParam*, std::vector >&) (TComAdaptiveLoopFilter.cpp:583) ==6134== by 0x48123D: TDecGop::decompressGop(TComInputBitstream*, TComPic*&, bool) (TDecGop.cpp:531) ==6134== by 0x487D88: TDecTop::executeDeblockAndAlf(unsigned int&, TComList*&, int&, int&) (TDecTop.cpp:236) ==6134== by 0x406AA4: TAppDecTop::decode() (TAppDecTop.cpp:148) ==6134== by 0x4037E7: main (decmain.cpp:79) ==6134== Uninitialised value was created by a heap allocation ==6134== at 0x4C244E8: malloc (vg_replace_malloc.c:236) ==6134== by 0x43512C: TComPicYuv::create(int, int, unsigned int, unsigned int, unsigned int) (TComPicYuv.cpp:92) ==6134== by 0x433D0E: TComPic::create(int, int, unsigned int, unsigned int, unsigned int, bool) (TComPic.cpp:74) ==6134== by 0x487F41: TDecTop::xGetNewPicBuffer(TComSlice*, TComPic*&) (TDecTop.cpp:187) ==6134== by 0x48A469: TDecTop::decode(InputNALUnit&, int&, int&) (TDecTop.cpp:519) ==6134== by 0x406A6E: TAppDecTop::decode() (TAppDecTop.cpp:134) ==6134== by 0x4037E7: main (decmain.cpp:79) ==6134== ==6134== ==6134== HEAP SUMMARY: ==6134== in use at exit: 165,064 bytes in 25 blocks ==6134== total heap usage: 4,381 allocs, 4,356 frees, 18,997,370 bytes allocated ==6134== ==6134== LEAK SUMMARY: ==6134== definitely lost: 1,700 bytes in 14 blocks ==6134== indirectly lost: 56,864 bytes in 10 blocks ==6134== possibly lost: 0 bytes in 0 blocks ==6134== still reachable: 106,500 bytes in 1 blocks ==6134== suppressed: 0 bytes in 0 blocks ==6134== Rerun with --leak-check=full to see details of leaked memory ==6134== ==6134== For counts of detected and suppressed errors, rerun with: -v ==6134== ERROR SUMMARY: 658 errors from 2 contexts (suppressed: 4 from 4)