Opened 4 years ago

Closed 4 years ago

#1142 closed defect (duplicate)

Missing "-1" in signalling of max_dec_pic_buffering_minus1

Reported by: hbteo Owned by:
Priority: minor Milestone:
Component: VTM Version: VTM-9.0
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

An operation is missing in the below code.

WRITE_UVLC( pcVPS->m_dpbParameters[i].m_maxDecPicBuffering[j], "max_dec_pic_buffering_minus1[i]" );

READ_UVLC( uiCode, "max_dec_pic_buffering_minus1[i]" );  pcVPS->m_dpbParameters[i].m_maxDecPicBuffering[j] = uiCode;

Should be:

WRITE_UVLC( pcVPS->m_dpbParameters[i].m_maxDecPicBuffering[j] - 1, "max_dec_pic_buffering_minus1[i]" );

READ_UVLC( uiCode, "max_dec_pic_buffering_minus1[i]" );  pcVPS->m_dpbParameters[i].m_maxDecPicBuffering[j] = uiCode + 1;

Change history (1)

comment:1 Changed 4 years ago by fbossen

  • Resolution set to duplicate
  • Status changed from new to closed

This issue is still present in VTM 9.3. See #1263.

Note: See TracTickets for help on using tickets.