Changeset 1000 in 3DVCSoftware for branches/HTM-11.2-dev3-Sharp/source


Ignore:
Timestamp:
18 Jul 2014, 06:00:50 (10 years ago)
Author:
sharpjp-htm
Message:

Fix narrowing conversion of NumPocStCurr0,NumPocStCurr1 at TComSlice.cpp

Location:
branches/HTM-11.2-dev3-Sharp/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev3-Sharp/source/Lib/TLibCommon/TComSlice.cpp

    r983 r1000  
    647647 
    648648  TComPic**             refPicSetStCurr    [2] = { RefPicSetStCurr0, RefPicSetStCurr1 };
     649#if FIX_WARNING
     650  Int numPocStCurr[2] = { (Int)NumPocStCurr0, (Int)NumPocStCurr1 };
     651#else
    649652  Int numPocStCurr[2] = { NumPocStCurr0, NumPocStCurr1 };
     653#endif
    650654
    651655  for (Int li = 0; li < ((m_eSliceType==B_SLICE) ? 2 : 1); li++)
  • branches/HTM-11.2-dev3-Sharp/source/Lib/TLibCommon/TypeDef.h

    r994 r1000  
    295295#define H_3D_DIM_DLT                      1   // Depth Lookup Table
    296296#define HS_DMM_SIGNALLING_I0120  1   
     297#define FIX_WARNING                       1   // fix narrowing conversion of NumPocStCurr0,NumPocStCurr1 at TComSlice.cpp
    297298
    298299#if H_3D_DIM_DLT
Note: See TracChangeset for help on using the changeset viewer.