id summary reporter owner description type status priority milestone component version resolution keywords cc 254 Dead loop in reshaper code XiangLi "In function void EncReshape::constructReshaperSDR(), following code sometimes lead to dead loop else if (resCW > (cwReduce1 + cwReduce2)) { resCW -= (cwReduce1 + cwReduce2); int idx = 0; while (resCW > 0) { if (m_binCW[idx] > 0 && m_binCW[idx] < (histLenth + 1)) { m_binCW[idx]--; resCW--; } idx++; if (idx == histBins) idx = 0; } The issue may be duplicated with following command line and attached YUV file. Note the resolution is 352x288. Encoder.exe -c ..\cfg\encoder_randomaccess_vtm.cfg -c ..\cfg\per-class\classF.cfg -c SlideShow_cif.cfg -v 6 -dph 1 -f 17 -q 37 -ip 16 -i ..\..\..\Sequences\SlideShow_#160-#180_352x288_25Hz_8bit_P420.yuv " defect closed minor VTM VTM-5.0rc1 fixed ksuehring XiangLi fbossen jvet@…