﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1394	m_LocalRPS is not reset between CVSs, resulting in incorrect long term reference picture count	jackh		"In TDecCavlc::parseSliceHeader() (TDecCAVLC.cpp line 1070), the number of long term reference pictures is set in the RPS if sps->getLongTermRefsPresent() == true. However, the number of long term reference pictures is not set to zero if sps->getLongTermRefsPresent() == false; in this case, it is just left at its previous value.

This causes a bug when there is more than one CVS present in the stream. If the first CVS uses an SPS with long_term_ref_pics_present_flag = 1, and the second uses one with long_term_ref_pics_present_flag = 0, the long term reference picture count will not get reset between CVSs, resulting in an error.

Suggested fix is to reset the contents of TComSlice::m_LocalRPS in TComSlice::initSlice()."	defect	closed	minor	HM-16.6	HM	HM-16.4	fixed		ksuehring davidf karlsharman jct-vc@…
