﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1242	Issues due to strict compile checking - HM11.0	elenva	N Vijay Anand	"Im using HM11.0 release version. I've used strict compile settings and see 
decoder crashes. I'm using arm-xilinx-linux-gnueabi-g++ (Sourcery CodeBench Lite 2012.09-104) 4.7.2 compiler.

1. Line #391, TComRom.cpp file

   ""    UInt log2Blk      = g_aucConvertToBit[ uiNumBlkSide ] + 1;""

   The array g_aucConvertToBit is of type Char and initialised to -1.
   Desired value in log2Blk is 0, but compiler is putting 256.
   Changing UInt log2Blk to UChar log2Blk fixes the issue.

2. In file TComMotionInfo.h,
   class TComMvField
   {
         private:
            TComMv    m_acMv;
            Int       m_iRefIdx;
         ...
   }

   Same issue with parameter m_iRefIdx. Somewhere in code it's initialised by -1, but
   value returned when queried is 255.
   Changing m_iRefIdx from Int to Char recursively in code fixes the issue.

3. I think there are host of other clean compilation issues, but they aren't causing 
   crashes.

Thanks,
Vijay

"	defect	closed	minor		HM	HM-11.0	duplicate		nvijay.anand@… fbossen ksuehring davidf jct-vc@…
