﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
496	Long-term picture variable PocLtCurr is set incorrectly when delta_poc_msb_present_flag==1	rickard	rickard	"Current decoding process for reference picture set contains the following:

for( i = 0, j = 0, k = 0; i < num_long_term_pics; i++ )
  if( delta_poc_msb_present_flag[ i ] )
    if( used_by_curr_pic_lt_flag[ i ] )
      PocLtCurr[ j++ ] = ( ( PicOrderCntVal - DeltaPocLt[ i ] + MaxPicOrderCntLsb ) % MaxPicOrderCntLsb ) - ( DeltaPocMSBCycleLt[ i ] )* MaxPicOrderCntLsb
    else
      PocLtFoll[ k++ ] = ( ( PicOrderCntVal - DeltaPocLt[ i ] + MaxPicOrderCntLsb ) % MaxPicOrderCntLsb ) - ( DeltaPocMSBCycleLt[ i ] ) * MaxPicOrderCntLsb

Later PocLtCurr[ i ] is compared with PicOrderCntVal.
The decoding process text for reference picture sets should be changed to:

for( i = 0, j = 0, k = 0; i < num_long_term_pics; i++ )
  if( delta_poc_msb_present_flag[ i ] )
    if( used_by_curr_pic_lt_flag[ i ] )
      PocLtCurr[ j++ ] = PicOrderCntVal - DeltaPocLt[ i ] - DeltaPocMSBCycleLt[ i ] * MaxPicOrderCntLsb
    else
      PocLtFoll[ k++ ] = PicOrderCntVal - DeltaPocLt[ i ] - DeltaPocMSBCycleLt[ i ] * MaxPicOrderCntLsb
"	defect	closed	major	D7	Text	D6 (H1003) dI/dJ/dK	fixed		bbross wjhan jct-vc@…
